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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 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/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);

Powered by Google App Engine
This is Rietveld 408576698