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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.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/LayoutSVGInlineText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
index 6867fe77456fc1bdba0f44c4c32c3b48fe536119..7c8d826e75e5b4509eb08ece2204b9a2f15acaa0 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
@@ -157,7 +157,7 @@ PositionWithAffinity LayoutSVGInlineText::positionForPoint(const LayoutPoint& po
return createPositionWithAffinity(0);
ASSERT(m_scalingFactor);
- float baseline = m_scaledFont.fontMetrics().floatAscent() / m_scalingFactor;
+ float baseline = m_scaledFont.getFontMetrics().floatAscent() / m_scalingFactor;
LayoutBlock* containingBlock = this->containingBlock();
ASSERT(containingBlock);
@@ -218,10 +218,10 @@ void LayoutSVGInlineText::computeNewScaledFontForStyle(LayoutObject* layoutObjec
return;
}
- if (style->fontDescription().textRendering() == GeometricPrecision)
+ if (style->getFontDescription().textRendering() == GeometricPrecision)
scalingFactor = 1;
- FontDescription fontDescription(style->fontDescription());
+ FontDescription fontDescription(style->getFontDescription());
Document& document = layoutObject->document();
// FIXME: We need to better handle the case when we compute very small fonts below (below 1pt).

Powered by Google App Engine
This is Rietveld 408576698