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

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: TemporaryChange -> AutoReset 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 ccef0e4d686fbe0047f7d4cccab686dc226671cd..40fa629cea8bc42bafe91e25c4561dce3b3ca025 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -3469,7 +3469,7 @@ bool LayoutObject::isAllowedToModifyLayoutTreeStructure(Document& document)
}
DeprecatedDisableModifyLayoutTreeStructureAsserts::DeprecatedDisableModifyLayoutTreeStructureAsserts()
- : m_disabler(gModifyLayoutTreeStructureAnyState, true)
+ : m_disabler(&gModifyLayoutTreeStructureAnyState, true)
{
}
@@ -3479,7 +3479,7 @@ bool DeprecatedDisableModifyLayoutTreeStructureAsserts::canModifyLayoutTreeState
}
DisablePaintInvalidationStateAsserts::DisablePaintInvalidationStateAsserts()
- : m_disabler(gDisablePaintInvalidationStateAsserts, true)
+ : m_disabler(&gDisablePaintInvalidationStateAsserts, true)
{
}

Powered by Google App Engine
This is Rietveld 408576698