summaryrefslogtreecommitdiffstats
path: root/cc/stubs
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs')
-rw-r--r--cc/stubs/config.h17
-rw-r--r--cc/stubs/trace_event.h5
2 files changed, 5 insertions, 17 deletions
diff --git a/cc/stubs/config.h b/cc/stubs/config.h
deleted file mode 100644
index 3b2b573..0000000
--- a/cc/stubs/config.h
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_STUBS_CONFIG_H_
-#define CC_STUBS_CONFIG_H_
-
-#if INSIDE_WEBKIT_BUILD
-#include "Source/WTF/config.h"
-#else
-#include "third_party/WebKit/Source/WTF/config.h"
-#endif
-
-#include <wtf/Assertions.h>
-#undef LOG
-
-#endif
diff --git a/cc/stubs/trace_event.h b/cc/stubs/trace_event.h
index 811d6b9..75587a3 100644
--- a/cc/stubs/trace_event.h
+++ b/cc/stubs/trace_event.h
@@ -2,4 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// Chromium's LOG() macro collides with one from WTF.
+#ifdef LOG
+#undef LOG
+#endif
+
#include "base/debug/trace_event.h"