Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(564)

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.cpp

Issue 1251523003: Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious comment Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/resolver/MatchedPropertiesCache.cpp
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.cpp b/Source/core/css/resolver/MatchedPropertiesCache.cpp
index 5d9211751a7e272c78d71d885e374b78c3f91f27..fe988158839f979b4313b1f576c4027247dc117b 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.cpp
+++ b/Source/core/css/resolver/MatchedPropertiesCache.cpp
@@ -147,8 +147,6 @@ bool MatchedPropertiesCache::isCacheable(const Element* element, const ComputedS
{
if (style.unique() || (style.styleType() != NOPSEUDO && parentStyle.unique()))
return false;
- if (style.hasAppearance())
- return false;
if (style.zoom() != ComputedStyle::initialZoom())
return false;
if (style.writingMode() != ComputedStyle::initialWritingMode() || style.direction() != ComputedStyle::initialDirection())

Powered by Google App Engine
This is Rietveld 408576698