| 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
|
| }
|
|
|