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

Unified Diff: third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.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/frame/FrameViewAutoSizeInfo.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
index f59f8c5fdb1520628f66db34d201985044e9fe8e..ca6b89dd259479105a6cc3053a17a8f0553d07d2 100644
--- a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
@@ -43,7 +43,7 @@ void FrameViewAutoSizeInfo::autoSizeIfNeeded()
if (m_inAutoSize)
return;
- TemporaryChange<bool> changeInAutoSize(m_inAutoSize, true);
+ TemporaryChange<bool> changeInAutoSize(&m_inAutoSize, true);
Document* document = m_frameView->frame().document();
if (!document || !document->isActive())

Powered by Google App Engine
This is Rietveld 408576698