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

Unified Diff: third_party/WebKit/Source/core/css/resolver/FontBuilderTest.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/css/resolver/FontBuilderTest.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
index 35d968a3033d21ba4488e8cf5e59e38e56622a21..e4cab366f001cc9600236cc3f141c7b0dd96343e 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilderTest.cpp
@@ -54,7 +54,7 @@ TEST_F(FontBuilderInitTest, InitialFontSizeNotScaled)
builder.setInitial(1.0f); // FIXME: Remove unused param.
builder.createFont(document().styleEngine().fontSelector(), *initial);
- EXPECT_EQ(16.0f, initial->fontDescription().computedSize());
+ EXPECT_EQ(16.0f, initial->getFontDescription().computedSize());
}
TEST_F(FontBuilderInitTest, NotDirty)
@@ -79,7 +79,7 @@ TEST_P(FontBuilderAdditiveTest, OnlySetValueIsModified)
funcs.setValue(fontBuilder);
fontBuilder.createFont(document().styleEngine().fontSelector(), *style);
- FontDescription outputDescription = style->fontDescription();
+ FontDescription outputDescription = style->getFontDescription();
// FontBuilder should have overwritten our base value set in the parent,
// hence the descriptions should not be equal.

Powered by Google App Engine
This is Rietveld 408576698