Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp |
index 438a159f3daabc6c64b661a26776ce4eb54e773d..8ccb1c945ecc6ef6391d4e602671f2995c0e0b84 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp |
@@ -107,20 +107,20 @@ CanvasRenderingContext2DState::CanvasRenderingContext2DState(const CanvasRenderi |
m_clipList = other.m_clipList; |
} |
if (m_realizedFont) |
- static_cast<CSSFontSelector*>(m_font.fontSelector())->registerForInvalidationCallbacks(this); |
+ static_cast<CSSFontSelector*>(m_font.getFontSelector())->registerForInvalidationCallbacks(this); |
} |
CanvasRenderingContext2DState::~CanvasRenderingContext2DState() |
{ |
#if !ENABLE(OILPAN) |
if (m_realizedFont) |
- static_cast<CSSFontSelector*>(m_font.fontSelector())->unregisterForInvalidationCallbacks(this); |
+ static_cast<CSSFontSelector*>(m_font.getFontSelector())->unregisterForInvalidationCallbacks(this); |
#endif |
} |
void CanvasRenderingContext2DState::fontsNeedUpdate(CSSFontSelector* fontSelector) |
{ |
- ASSERT_ARG(fontSelector, fontSelector == m_font.fontSelector()); |
+ ASSERT_ARG(fontSelector, fontSelector == m_font.getFontSelector()); |
ASSERT(m_realizedFont); |
m_font.update(fontSelector); |
@@ -264,7 +264,7 @@ void CanvasRenderingContext2DState::setFont(const Font& font, CSSFontSelector* s |
{ |
#if !ENABLE(OILPAN) |
if (m_realizedFont) |
- static_cast<CSSFontSelector*>(m_font.fontSelector())->unregisterForInvalidationCallbacks(this); |
+ static_cast<CSSFontSelector*>(m_font.getFontSelector())->unregisterForInvalidationCallbacks(this); |
#endif |
m_font = font; |
m_font.update(selector); |