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

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

Issue 2151933003: Change WTF::TemporaryChange to be an alias for AutoReset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/SelectorChecker.cpp
diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
index 382ac4e1523df4ed9ddcbd294ed51a5105a20a88..279d6e9ec3c5008fdc0dd6b527f7f554a02f5e1d 100644
--- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
@@ -219,7 +219,7 @@ SelectorChecker::Match SelectorChecker::matchSelector(const SelectorCheckingCont
if (context.pseudoId != PseudoIdNone && context.pseudoId != result.dynamicPseudo)
return SelectorFailsCompletely;
- TemporaryChange<PseudoId> dynamicPseudoScope(result.dynamicPseudo, PseudoIdNone);
+ TemporaryChange<PseudoId> dynamicPseudoScope(&result.dynamicPseudo, PseudoIdNone);
match = matchForRelation(context, result);
} else {
match = matchForSubSelector(context, result);

Powered by Google App Engine
This is Rietveld 408576698