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

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

Issue 2895283004: Replace AnimatableValues with ComputedStyle references for CSS Transitions (Closed)
Patch Set: Created 3 years, 7 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: 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 3b4017542939f1c02322e8aff0c8ca067b6ba86e..c1bad629c41795f4dac432b73e28432c237e67de 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -922,7 +922,8 @@ bool ComputedStyle::DiffNeedsPaintInvalidationObjectForPaintImage(
// TODO(ikilpatrick): remove IsInterpolableProperty check once
// CSSPropertyEquality::PropertiesEqual correctly handles all properties.
if (!CSSPropertyMetadata::IsInterpolableProperty(property_id) ||
- !CSSPropertyEquality::PropertiesEqual(property_id, *this, other))
+ !CSSPropertyEquality::PropertiesEqual(PropertyHandle(property_id),
+ *this, other))
return true;
}

Powered by Google App Engine
This is Rietveld 408576698