| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index ebcc74e49126cf53e100eda190e22c2d36aa7e4f..0345cac46a071ae555f196133ff3ed8cca9c6fb9 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -1133,7 +1133,7 @@ bool StyleEngine::MediaQueryAffectedByViewportChange() {
|
| const auto& results =
|
| global_rule_set_.GetRuleFeatureSet().ViewportDependentMediaQueryResults();
|
| for (unsigned i = 0; i < results.size(); ++i) {
|
| - if (evaluator.Eval(results[i]->Expression()) != results[i]->Result())
|
| + if (evaluator.Eval(results[i].Expression()) != results[i].Result())
|
| return true;
|
| }
|
| return false;
|
| @@ -1144,7 +1144,7 @@ bool StyleEngine::MediaQueryAffectedByDeviceChange() {
|
| const auto& results =
|
| global_rule_set_.GetRuleFeatureSet().DeviceDependentMediaQueryResults();
|
| for (unsigned i = 0; i < results.size(); ++i) {
|
| - if (evaluator.Eval(results[i]->Expression()) != results[i]->Result())
|
| + if (evaluator.Eval(results[i].Expression()) != results[i].Result())
|
| return true;
|
| }
|
| return false;
|
|
|