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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 66cb9ed15a87486bad9237ce03a9705a17880a2f..e5e6aacc8fdb93babc3291c2e925cdcd33339cb0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
@@ -1032,7 +1032,7 @@ FloatRect LayoutObject::absoluteBoundingBoxRectForRange(const Range* range)
if (!range || !range->startContainer())
return FloatRect();
- range->ownerDocument().updateLayout();
+ range->ownerDocument().updateStyleAndLayout();
Vector<FloatQuad> quads;
range->textQuads(quads);

Powered by Google App Engine
This is Rietveld 408576698