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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.h

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/dom/StyleEngine.h
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
index f3977aab71156ee3f17f16de3f295035f0e665ae..01ea3259d25d507e61b7189e599f2f25ded8d1b8 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -64,7 +64,7 @@ public:
DISALLOW_NEW();
public:
IgnoringPendingStylesheet(StyleEngine& engine)
- : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true)
+ : TemporaryChange<bool>(&engine.m_ignorePendingStylesheets, true)
tzik 2016/07/15 04:25:02 MSVC seems to fail to call the parent constructor
jsbell 2016/07/18 18:42:37 I'll give that a try. (Seems cleaner anyway?)
{
}
};

Powered by Google App Engine
This is Rietveld 408576698