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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
index 823b91f198e5fbae00015ce26ed5b2c93cbf91e4..8224eab0d37122ecbdc4ac3146dcdf2e6dda014e 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
@@ -794,9 +794,10 @@ static bool colorGamutMediaFeatureEval(const MediaQueryExpValue& value,
void MediaQueryEvaluator::init() {
// Create the table.
- gFunctionMap = new FunctionMap;
-#define ADD_TO_FUNCTIONMAP(name) \
- gFunctionMap->set(name##MediaFeature.impl(), name##MediaFeatureEval);
+ g_function_map = new FunctionMap;
+#define ADD_TO_FUNCTIONMAP(constantPrefix, methodPrefix) \
+ g_function_map->Set(constantPrefix##MediaFeature.Impl(), \
+ methodPrefix##MediaFeatureEval);
CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(ADD_TO_FUNCTIONMAP);
#undef ADD_TO_FUNCTIONMAP
}
« no previous file with comments | « third_party/WebKit/Source/core/css/ElementRuleCollector.cpp ('k') | third_party/WebKit/Source/core/css/StylePropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698