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

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

Issue 203193002: Web Animations API: Initialise FontBuilder when resolving keyframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « LayoutTests/web-animations-api/font-builder-crash-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index 7e1c31e0da08dd383102ea50b86456382287758f..f046408df83d700d6f68fb25b42b3a10a18aff96 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -800,6 +800,7 @@ PassRefPtrWillBeRawPtr<KeyframeEffectModel> StyleResolver::createKeyframeEffectM
StyleResolverState state(element.document(), &element);
state.setStyle(RenderStyle::create());
+ state.fontBuilder().initForStyleResolve(state.document(), state.style(), state.useSVGZoomRules());
for (unsigned i = 0; i < propertySetVector.size(); ++i) {
for (unsigned j = 0; j < propertySetVector[i]->propertyCount(); ++j) {
« no previous file with comments | « LayoutTests/web-animations-api/font-builder-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698