| Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| index 0e1497d2564da84d7e64c6d6bde29f6e4153e90f..33c1a577618015f9d34d334f456599cd812145ef 100644
|
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
|
| @@ -1956,9 +1956,9 @@ void CanvasRenderingContext2D::setFont(const String& newFont)
|
| static_cast<CSSFontSelector*>(state().m_font.fontSelector())->unregisterForInvalidationCallbacks(&modifiableState());
|
| #endif
|
| modifiableState().m_font = newStyle->font();
|
| - modifiableState().m_font.update(canvas()->document().styleEngine()->fontSelector());
|
| + modifiableState().m_font.update(canvas()->document().styleEngine().fontSelector());
|
| modifiableState().m_realizedFont = true;
|
| - canvas()->document().styleEngine()->fontSelector()->registerForInvalidationCallbacks(&modifiableState());
|
| + canvas()->document().styleEngine().fontSelector()->registerForInvalidationCallbacks(&modifiableState());
|
| }
|
|
|
| String CanvasRenderingContext2D::textAlign() const
|
|
|