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

Unified Diff: third_party/WebKit/Source/core/dom/DOMURL.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/DOMURL.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMURL.cpp b/third_party/WebKit/Source/core/dom/DOMURL.cpp
index bd64b4be072a112cb26c66a92d9ff67e186a7478..394469ca6447cde6a261c1f77a7e86c272a7e5c5 100644
--- a/third_party/WebKit/Source/core/dom/DOMURL.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMURL.cpp
@@ -120,7 +120,7 @@ void DOMURL::updateSearchParams(const String& queryString)
if (!m_searchParams)
return;
- TemporaryChange<bool> scope(m_isInUpdate, true);
+ TemporaryChange<bool> scope(&m_isInUpdate, true);
ASSERT(m_searchParams->urlObject() == this);
m_searchParams->setInput(queryString);
}

Powered by Google App Engine
This is Rietveld 408576698