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

Unified Diff: sky/engine/core/dom/Element.cpp

Issue 869393002: Remove hasInlineTransform bit. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.cpp
diff --git a/sky/engine/core/dom/Element.cpp b/sky/engine/core/dom/Element.cpp
index 282eafa9b2a962da180cd5b7f1b2566831d1e282..4e85b52428bc6c37088a420d27b39921b2284613 100644
--- a/sky/engine/core/dom/Element.cpp
+++ b/sky/engine/core/dom/Element.cpp
@@ -896,11 +896,6 @@ PassRefPtr<RenderStyle> Element::styleForRenderer()
activeAnimations->cssAnimations().maybeApplyPendingUpdate(this);
}
- if (style->hasTransform()) {
- if (const StylePropertySet* inlineStyle = this->inlineStyle())
- style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTransform) || inlineStyle->hasProperty(CSSPropertyWebkitTransform));
- }
-
document().didRecalculateStyleForElement();
return style.release();
}
« no previous file with comments | « no previous file | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698