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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.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/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 955e043fb16cd10a261382f3afe1a43859d59b39..674d72abba9fed6bd6f581d06419b011f7d53307 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -229,7 +229,7 @@ void InspectorOverlay::updateAllLifecyclePhases()
if (isEmpty())
return;
- TemporaryChange<bool> scoped(m_inLayout, true);
+ TemporaryChange<bool> scoped(&m_inLayout, true);
if (m_needsUpdate) {
m_needsUpdate = false;
rebuildOverlayPage();

Powered by Google App Engine
This is Rietveld 408576698