summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEPS4
-rw-r--r--build/common.gypi10
-rw-r--r--webkit/support/webkit_support_gfx.cc2
3 files changed, 3 insertions, 13 deletions
diff --git a/DEPS b/DEPS
index 714f415..5dc8866 100644
--- a/DEPS
+++ b/DEPS
@@ -80,10 +80,10 @@ deps = {
(Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
"src/testing/gtest":
- (Var("googlecode_url") % "googletest") + "/trunk@560",
+ (Var("googlecode_url") % "googletest") + "/trunk@613",
"src/testing/gmock":
- (Var("googlecode_url") % "googlemock") + "/trunk@374",
+ (Var("googlecode_url") % "googlemock") + "/trunk@405",
"src/third_party/angle":
(Var("googlecode_url") % "angleproject") + "/trunk@1018",
diff --git a/build/common.gypi b/build/common.gypi
index 8ed6796..9dec996 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2083,11 +2083,6 @@
# Warns on switches on enums that cover all enum values but
# also contain a default: branch. Chrome is full of that.
'-Wno-covered-switch-default',
-
- # TODO(thakis): Reenable once this no longer complains about
- # Invalid() in gmocks's gmock-internal-utils.h
- # http://crbug.com/111806
- '-Wno-null-dereference',
],
'cflags!': [
# Clang doesn't seem to know know this flag.
@@ -2502,11 +2497,6 @@
# Warns on switches on enums that cover all enum values but
# also contain a default: branch. Chrome is full of that.
'-Wno-covered-switch-default',
-
- # TODO(thakis): Reenable once this no longer complains about
- # Invalid() in gmock's gmock-internal-utils.h
- # http://crbug.com/111806
- '-Wno-null-dereference',
],
}],
['clang==1 and clang_use_chrome_plugins==1', {
diff --git a/webkit/support/webkit_support_gfx.cc b/webkit/support/webkit_support_gfx.cc
index 2a62b72..bc342e9 100644
--- a/webkit/support/webkit_support_gfx.cc
+++ b/webkit/support/webkit_support_gfx.cc
@@ -28,7 +28,7 @@ namespace webkit_support {
// Note that the NOTREACHED() macro will result in a crash. This is preferable
// to calling exit() / abort(), since the latter may not surfce the problem as
// crash reports, making it hard to tell where the problem is.
-#define NOTREACHED(msg) *((int*)0) = 3
+#define NOTREACHED(msg) *((volatile int*)0) = 3
#define DCHECK(condition) \
if (!(condition)) fprintf(stderr, "DCHECK failed: " #condition ".")