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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.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/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
index 2e0d778bfa92b43607970c7a9935b34e26a42fa3..80aa8af9b149a7407e0443f17e99f3eeac0c1eb5 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
@@ -37,13 +37,13 @@ float SVGTextLayoutEngineSpacing::calculateCSSSpacing(UChar currentCharacter)
UChar lastCharacter = m_lastCharacter;
m_lastCharacter = currentCharacter;
- if (!m_font.fontDescription().letterSpacing() && !m_font.fontDescription().wordSpacing())
+ if (!m_font.getFontDescription().letterSpacing() && !m_font.getFontDescription().wordSpacing())
return 0;
- float spacing = m_font.fontDescription().letterSpacing();
- if (currentCharacter && lastCharacter && m_font.fontDescription().wordSpacing()) {
+ float spacing = m_font.getFontDescription().letterSpacing();
+ if (currentCharacter && lastCharacter && m_font.getFontDescription().wordSpacing()) {
if (Character::treatAsSpace(currentCharacter) && !Character::treatAsSpace(lastCharacter))
- spacing += m_font.fontDescription().wordSpacing();
+ spacing += m_font.getFontDescription().wordSpacing();
}
if (m_effectiveZoom != 1)

Powered by Google App Engine
This is Rietveld 408576698