Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index a57826c5fac5b181ddfbc73a1872d5eb60d704b6..a785163734311c48ff67d7c83d5476416021ea9c 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -445,13 +445,13 @@ void Node::normalize() |
bool Node::isContentEditable(UserSelectAllTreatment treatment) const |
{ |
- document().updateLayoutTree(); |
+ document().updateStyleAndLayoutTree(); |
return hasEditableStyle(Editable, treatment); |
} |
bool Node::isContentRichlyEditable() const |
{ |
- document().updateLayoutTree(); |
+ document().updateStyleAndLayoutTree(); |
return hasEditableStyle(RichlyEditable, UserSelectAllIsAlwaysNonEditable); |
} |