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 031aa62d97d4d41374d5ad9aa6af6d8185a91ba6..32228540a9ac0535f6b60bd2e3ca9ef6129b67e2 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/MatchedPropertiesCache.cpp |
@@ -130,8 +130,8 @@ bool MatchedPropertiesCache::IsCacheable(const StyleResolverState& state) { |
style.Direction() != ComputedStyle::InitialDirection()) |
return false; |
// The cache assumes static knowledge about which properties are inherited. |
- // Without a flat tree parent, StyleBuilder::applyProperty will not |
- // setHasExplicitlyInheritedProperties on the parent style. |
+ // Without a flat tree parent, StyleBuilder::ApplyProperty will not |
+ // SetHasExplicitlyInheritedProperties on the parent style. |
if (!state.ParentNode() || parent_style.HasExplicitlyInheritedProperties()) |
return false; |
if (style.HasVariableReferenceFromNonInheritedProperty()) |