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

Unified Diff: sky/engine/core/dom/Range.cpp

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comment. Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/RenderTreeBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Range.cpp
diff --git a/sky/engine/core/dom/Range.cpp b/sky/engine/core/dom/Range.cpp
index 75feffae7a6b3fa88d31f77b67a098fe3d1b6bdb..e3a300d1e3f94c0f67c346c7848718a3474cd55a 100644
--- a/sky/engine/core/dom/Range.cpp
+++ b/sky/engine/core/dom/Range.cpp
@@ -1441,7 +1441,7 @@ void Range::expand(const String& unit, ExceptionState& exceptionState)
PassRefPtr<ClientRectList> Range::getClientRects() const
{
- m_ownerDocument->updateLayoutIgnorePendingStylesheets();
+ m_ownerDocument->updateLayout();
Vector<FloatQuad> quads;
getBorderAndTextQuads(quads);
@@ -1494,7 +1494,7 @@ void Range::getBorderAndTextQuads(Vector<FloatQuad>& quads) const
FloatRect Range::boundingRect() const
{
- m_ownerDocument->updateLayoutIgnorePendingStylesheets();
+ m_ownerDocument->updateLayout();
Vector<FloatQuad> quads;
getBorderAndTextQuads(quads);
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/dom/RenderTreeBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698