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

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

Issue 2580713005: [SPInvalidation] Update paint properties on perspective etc. change (Closed)
Patch Set: 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
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 !=

Powered by Google App Engine
This is Rietveld 408576698