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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2723883005: Add registered custom property wrapping support to CSSAnimatableValueFactory (Closed)
Patch Set: Rebased Created 3 years, 9 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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 1dd8cab62c6067a37c7fa34ec11f7027ecefb707..e2eb51d4618f7b030444761207e8a611c26c9805 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -806,7 +806,8 @@ PassRefPtr<AnimatableValue> StyleResolver::createAnimatableValueSnapshot(
state.fontBuilder().createFont(
state.document().styleEngine().fontSelector(), state.mutableStyleRef());
}
- return CSSAnimatableValueFactory::create(property, *state.style());
+ return CSSAnimatableValueFactory::create(PropertyHandle(property),
+ *state.style());
}
PseudoElement* StyleResolver::createPseudoElement(Element* parent,
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698