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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 246b1ca7ec6a3da9e7c4a69fc8a9120ffd481174..3c6bbae31fdc6c5591a690d1823d37a99936fd01 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4485,7 +4485,7 @@ bool Document::execCommand(const String& commandName, bool, const String& value,
addConsoleMessage(ConsoleMessage::create(JSMessageSource, WarningMessageLevel, message));
return false;
}
- TemporaryChange<bool> executeScope(m_isRunningExecCommand, true);
+ TemporaryChange<bool> executeScope(&m_isRunningExecCommand, true);
// Postpone DOM mutation events, which can execute scripts and change
// DOM tree against implementation assumption.

Powered by Google App Engine
This is Rietveld 408576698