| Index: sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp b/sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index dd6c240dd1acca84853a2cc7cd71332e57376e1f..9d8ff92b2856ea80954510e3d03df9b92b17b8f5 100644
|
| --- a/sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp
|
| +++ b/sky/engine/core/html/canvas/CanvasRenderingContext2D.cpp
|
| @@ -1736,7 +1736,7 @@ void CanvasRenderingContext2D::setFont(const String& newFont)
|
| CSSPropertyValue(CSSPropertyLineHeight, *parsedStyle),
|
| };
|
|
|
| - StyleResolver& styleResolver = canvas()->document().ensureStyleResolver();
|
| + StyleResolver& styleResolver = canvas()->document().styleResolver();
|
| styleResolver.applyPropertiesToStyle(properties, WTF_ARRAY_LENGTH(properties), newStyle.get());
|
|
|
| #if !ENABLE(OILPAN)
|
|
|