Index: third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
index 8953dbf9f99ed52361ca591e6b91264d046a3aed..4374baac676e35bf43f946192a579d587fe91c3c 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
@@ -154,7 +154,7 @@ bool MatchedPropertiesCache::isCacheable(const ComputedStyle& style, const Compu |
return false; |
if (style.zoom() != ComputedStyle::initialZoom()) |
return false; |
- if (style.writingMode() != ComputedStyle::initialWritingMode() || style.direction() != ComputedStyle::initialDirection()) |
+ if (style.getWritingMode() != ComputedStyle::initialWritingMode() || style.direction() != ComputedStyle::initialDirection()) |
return false; |
// The cache assumes static knowledge about which properties are inherited. |
if (parentStyle.hasExplicitlyInheritedProperties()) |