blob: fbc597902017059a3416ed9585ea948ea122e675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
--- mozilla/content/media/MediaEngineDefault.cpp~
+++ mozilla/content/media/MediaEngineDefault.cpp
@@ -232,12 +232,12 @@ nsresult
MediaEngineDefaultAudioSource::Start(SourceMediaStream* aStream, TrackID aID)
{
if (mState != kAllocated) {
- return NULL;
+ return 0;
}
mTimer = do_CreateInstance(NS_TIMER_CONTRACTID);
if (!mTimer) {
- return NULL;
+ return 0;
}
mSource = aStream;
--- mozilla/gfx/layers/opengl/ImageLayerOGL.cpp~
+++ mozilla/gfx/layers/opengl/ImageLayerOGL.cpp
@@ -936,7 +936,7 @@ ShadowImageLayerOGL::CleanupResources()
{
if (mSharedHandle) {
gl()->ReleaseSharedHandle(mShareType, mSharedHandle);
- mSharedHandle = NULL;
+ mSharedHandle = 0;
}
mYUVTexture[0].Release();
--- mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp~
+++ mozilla/intl/locale/src/unix/nsDateTimeFormatUnix.cpp
@@ -100,7 +100,7 @@ void nsDateTimeFormatUnix::LocalePreferr
struct tm *tmc;
int i;
- tt = time((time_t)NULL);
+ tt = time(NULL);
tmc = localtime(&tt);
tmc->tm_hour=22; // put the test sample hour to 22:00 which is 10PM
--- mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp~
+++ mozilla/ipc/glue/CrossProcessMutex_unimplemented.cpp
@@ -40,7 +40,7 @@ CrossProcessMutexHandle
CrossProcessMutex::ShareToProcess(base::ProcessHandle aHandle)
{
NS_RUNTIMEABORT("Cross-process mutices not allowed on this platform - woah! We should've aborted by now!");
- return NULL;
+ return 0;
}
}
|