| Index: third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| index 382ac4e1523df4ed9ddcbd294ed51a5105a20a88..699c10bb79fdae0a85c62bf2eaf20b8d0a8a5d09 100644
|
| --- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| +++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
|
| @@ -58,6 +58,7 @@
|
| #include "core/style/ComputedStyle.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -219,7 +220,7 @@ SelectorChecker::Match SelectorChecker::matchSelector(const SelectorCheckingCont
|
| if (context.pseudoId != PseudoIdNone && context.pseudoId != result.dynamicPseudo)
|
| return SelectorFailsCompletely;
|
|
|
| - TemporaryChange<PseudoId> dynamicPseudoScope(result.dynamicPseudo, PseudoIdNone);
|
| + AutoReset<PseudoId> dynamicPseudoScope(&result.dynamicPseudo, PseudoIdNone);
|
| match = matchForRelation(context, result);
|
| } else {
|
| match = matchForSubSelector(context, result);
|
|
|