| 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..7dc6169105c451eb8e47f0d6f711e43afdaa472e 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| @@ -36,7 +36,7 @@
|
| #include "core/html/PublicURLManager.h"
|
| #include "platform/blob/BlobURL.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| -#include "wtf/TemporaryChange.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -120,7 +120,7 @@ void DOMURL::updateSearchParams(const String& queryString)
|
| if (!m_searchParams)
|
| return;
|
|
|
| - TemporaryChange<bool> scope(m_isInUpdate, true);
|
| + AutoReset<bool> scope(&m_isInUpdate, true);
|
| ASSERT(m_searchParams->urlObject() == this);
|
| m_searchParams->setInput(queryString);
|
| }
|
|
|