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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.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/layout/LayoutObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
index 08e8b52a9a9d7a83da6c8f29fc0b6e00641f3cca..0324e500ab9310a482b7c677c6fd613af5afcac0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3468,7 +3468,7 @@ bool LayoutObject::isAllowedToModifyLayoutTreeStructure(Document& document)
}
DeprecatedDisableModifyLayoutTreeStructureAsserts::DeprecatedDisableModifyLayoutTreeStructureAsserts()
- : m_disabler(gModifyLayoutTreeStructureAnyState, true)
+ : m_disabler(&gModifyLayoutTreeStructureAnyState, true)
{
}
@@ -3478,7 +3478,7 @@ bool DeprecatedDisableModifyLayoutTreeStructureAsserts::canModifyLayoutTreeState
}
DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts()
- : m_disabler(gDisablePaintInvalidationStateAsserts, true)
+ : m_disabler(&gDisablePaintInvalidationStateAsserts, true)
{
}

Powered by Google App Engine
This is Rietveld 408576698