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

Unified Diff: third_party/WebKit/Source/core/inspector/LayoutEditor.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/inspector/LayoutEditor.cpp
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
index 1fa6881d05afeaae9e30ac851279def4cacffc8d..4c9784d2bc09996a7c82c52ca3a3885f826de3f3 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
@@ -222,13 +222,13 @@ bool LayoutEditor::growInside(String propertyName, CSSPrimitiveValue* value)
TrackExceptionState exceptionState;
elementStyle->setProperty(propertyName, newValue, "important", exceptionState);
- m_element->ownerDocument()->updateLayout();
+ m_element->ownerDocument()->updateStyleAndLayout();
FloatQuad content2, padding2, border2, margin2;
InspectorHighlight::buildNodeQuads(m_element.get(), &content2, &padding2, &border2, &margin2);
elementStyle->setProperty(propertyName, initialValue, initialPriority, exceptionState);
- m_element->ownerDocument()->updateLayout();
+ m_element->ownerDocument()->updateStyleAndLayout();
float eps = 0.0001;
FloatRect boundingBox1, boundingBox2;
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698