summaryrefslogtreecommitdiffstats
path: root/webkit/glue/temporary_glue.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 18:26:51 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 18:26:51 +0000
commit6f65cc3b4114080938c42bc1f3f55c0188f27163 (patch)
tree52569c01936dd898d1cc5bf29dc606ff05d06ff7 /webkit/glue/temporary_glue.cc
parente2ad153b226d66618b989e0e551ba157336b6ea9 (diff)
downloadchromium_src-6f65cc3b4114080938c42bc1f3f55c0188f27163.zip
chromium_src-6f65cc3b4114080938c42bc1f3f55c0188f27163.tar.gz
chromium_src-6f65cc3b4114080938c42bc1f3f55c0188f27163.tar.bz2
Suppress a warning about LOG being re-defined.
temporary_glue.cc includes webview_impl.h, which brings in headers that include wtf/Assertions.h. However, it also brings in logging.h. The workaround is to include wtf/Assertions.h in temporary_glue.cc and then #undef LOG. This effectively mimics what we do elsewhere in glue. TEST=none BUG=none R=brettw Review URL: http://codereview.chromium.org/149339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/temporary_glue.cc')
-rw-r--r--webkit/glue/temporary_glue.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/temporary_glue.cc b/webkit/glue/temporary_glue.cc
index fb201b1..23724ed 100644
--- a/webkit/glue/temporary_glue.cc
+++ b/webkit/glue/temporary_glue.cc
@@ -5,6 +5,9 @@
#include "config.h"
#include "webkit/api/src/TemporaryGlue.h"
+#include <wtf/Assertions.h>
+#undef LOG
+
#include "webkit/glue/webview_impl.h"
using WebCore::Frame;