Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1103)

Unified Diff: Source/core/rendering/RenderTheme.h

Issue 22577011: Set USE(NEW_THEME) in config.h instead of a gyp file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/wtf/wtf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTheme.h
diff --git a/Source/core/rendering/RenderTheme.h b/Source/core/rendering/RenderTheme.h
index 057b53f3168a95bf1b994ad57f9a46c9ee7ecd6a..945bda0a0fa63386327be0dde57ac13d1c9172c4 100644
--- a/Source/core/rendering/RenderTheme.h
+++ b/Source/core/rendering/RenderTheme.h
@@ -23,6 +23,10 @@
#ifndef RenderTheme_h
#define RenderTheme_h
+#if OS(DARWIN)
+#define WTF_USE_NEW_THEME 1
+#endif
abarth-chromium 2013/08/12 19:43:21 This should got in Platform.h rather than here. W
lgombos 2013/08/13 14:52:45 It seems to me that from the ~20 USE() guards curr
+
#include "core/platform/ScrollTypes.h"
#if USE(NEW_THEME)
#include "core/platform/Theme.h"
« no previous file with comments | « no previous file | Source/wtf/wtf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698