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

Unified Diff: sky/engine/core/css/resolver/MatchedPropertiesCache.cpp

Issue 710113003: Initial step of removing CSS zoom related properties. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/css/resolver/MatchedPropertiesCache.cpp
diff --git a/sky/engine/core/css/resolver/MatchedPropertiesCache.cpp b/sky/engine/core/css/resolver/MatchedPropertiesCache.cpp
index 3a4ef10a54a843085d37aae1103f47a17c3b6eec..146f4eba53d75189336c62e356977e47cf6fe729 100644
--- a/sky/engine/core/css/resolver/MatchedPropertiesCache.cpp
+++ b/sky/engine/core/css/resolver/MatchedPropertiesCache.cpp
@@ -142,8 +142,6 @@ bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderSty
{
if (style->unique() || (style->styleType() != NOPSEUDO && parentStyle->unique()))
return false;
- if (style->zoom() != RenderStyle::initialZoom())
- return false;
if (style->hasCurrentColor())
return false;
// The cache assumes static knowledge about which properties are inherited.
« no previous file with comments | « sky/engine/core/css/resolver/AnimatedStyleBuilder.cpp ('k') | sky/engine/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698