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

Unified Diff: sky/engine/web/WebNode.cpp

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Skip crashing test 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
Index: sky/engine/web/WebNode.cpp
diff --git a/sky/engine/web/WebNode.cpp b/sky/engine/web/WebNode.cpp
index 5ae0874311f9ba65e526826f08f8ee74cf136ffa..8b8da48fe7bc1cbfe0265ef029fe84087f800808 100644
--- a/sky/engine/web/WebNode.cpp
+++ b/sky/engine/web/WebNode.cpp
@@ -128,7 +128,7 @@ bool WebNode::isFocusable() const
{
if (!m_private->isElementNode())
return false;
- m_private->document().updateLayoutIgnorePendingStylesheets();
+ m_private->document().updateLayout();
return toElement(m_private.get())->isFocusable();
}
@@ -176,7 +176,7 @@ bool WebNode::remove()
bool WebNode::hasNonEmptyBoundingBox() const
{
- m_private->document().updateLayoutIgnorePendingStylesheets();
+ m_private->document().updateLayout();
return m_private->hasNonEmptyBoundingBox();
}

Powered by Google App Engine
This is Rietveld 408576698