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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2580713005: [SPInvalidation] Update paint properties on perspective etc. change (Closed)
Patch Set: Unit test Created 4 years 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 | « third_party/WebKit/Source/core/paint/test_data/perspective.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index b1f9486e61a9fa3c361c6cda774056922872cb17..070c725a0c9e87d02d45c3e2a7c9ac80c7f56136 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -1045,7 +1045,11 @@ void ComputedStyle::updatePropertySpecificDifferences(
diff.setZIndexChanged();
if (m_rareNonInheritedData.get() != other.m_rareNonInheritedData.get()) {
- if (!transformDataEquivalent(other))
+ if (!transformDataEquivalent(other) ||
+ m_rareNonInheritedData->m_perspective !=
+ other.m_rareNonInheritedData->m_perspective ||
+ m_rareNonInheritedData->m_perspectiveOrigin !=
+ other.m_rareNonInheritedData->m_perspectiveOrigin)
diff.setTransformChanged();
if (m_rareNonInheritedData->opacity !=
« no previous file with comments | « third_party/WebKit/Source/core/paint/test_data/perspective.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698