| Index: third_party/WebKit/Source/core/dom/NodeComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/dom/NodeComputedStyle.h b/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
|
| index ea9a610c3a3fc8a3fde01aa954d2305c998667e0..ccd8c53d7c38ec16c43e4e683262eeeec803e609 100644
|
| --- a/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
|
| @@ -39,6 +39,9 @@ inline const ComputedStyle* Node::computedStyle() const {
|
| }
|
|
|
| inline ComputedStyle* Node::mutableComputedStyle() const {
|
| + if (needsReattachLayoutTree())
|
| + return document().getStyleReattachData(*this).computedStyle.get();
|
| +
|
| if (LayoutObject* layoutObject = this->layoutObject())
|
| return layoutObject->mutableStyle();
|
|
|
|
|