Index: third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp |
index 005c1e18f3cbc744fd007656616ccf1f87ff6713..45294cf828116b0d9eef9a8d2dfd78512b352e7f 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/SharedStyleFinder.cpp |
@@ -61,8 +61,7 @@ using namespace HTMLNames; |
inline ComputedStyle* GetElementStyle(Element& element) { |
if (element.NeedsReattachLayoutTree()) { |
- if (ComputedStyle* computed_style = |
- element.GetDocument().GetNonAttachedStyle(element)) |
+ if (ComputedStyle* computed_style = element.GetNonAttachedStyle()) |
return computed_style; |
} |
return element.MutableComputedStyle(); |