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(); |
} |