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

Unified Diff: Source/core/css/resolver/FontBuilderTest.cpp

Issue 975933002: Return reference from styleEngine() accessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/css/StyleSheetList.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/FontBuilderTest.cpp
diff --git a/Source/core/css/resolver/FontBuilderTest.cpp b/Source/core/css/resolver/FontBuilderTest.cpp
index def7ee841afd1acebf0de621471e5bb2d2cb932d..863e37d5483c741052297249f8c8f7305835f96b 100644
--- a/Source/core/css/resolver/FontBuilderTest.cpp
+++ b/Source/core/css/resolver/FontBuilderTest.cpp
@@ -55,7 +55,7 @@ TEST_F(FontBuilderInitTest, InitialFontSizeNotScaled)
FontBuilder builder(document());
builder.setInitial(1.0f); // FIXME: Remove unused param.
- builder.createFont(document().styleEngine()->fontSelector(), *initial);
+ builder.createFont(document().styleEngine().fontSelector(), *initial);
EXPECT_EQ(16.0f, initial->fontDescription().computedSize());
}
@@ -80,7 +80,7 @@ TEST_P(FontBuilderAdditiveTest, OnlySetValueIsModified)
FontBuilder fontBuilder(document());
funcs.setValue(fontBuilder);
- fontBuilder.createFont(document().styleEngine()->fontSelector(), *style);
+ fontBuilder.createFont(document().styleEngine().fontSelector(), *style);
FontDescription outputDescription = style->fontDescription();
« no previous file with comments | « Source/core/css/StyleSheetList.cpp ('k') | Source/core/css/resolver/ScopedStyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698