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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/platform/fonts/shaping/CachingWordShaperTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
index d702836b9a912642e53bae002780d2d5930f650c..e43cfcbc2066e8bbe2146d5f73caf08669ef5011 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp
@@ -27,7 +27,7 @@ class CachingWordShaperTest : public ::testing::Test {
font.update(nullptr);
ASSERT_TRUE(font.canShapeWordByWord());
fallbackFonts = nullptr;
- cache = makeUnique<ShapeCache>();
+ cache = WTF::makeUnique<ShapeCache>();
}
FontCachePurgePreventer fontCachePurgePreventer;
@@ -120,7 +120,7 @@ TEST_F(CachingWordShaperTest, CommonAccentLeftToRightFillGlyphBuffer) {
GlyphBuffer glyphBuffer;
shaper.fillGlyphBuffer(&font, textRun, fallbackFonts, &glyphBuffer, 0, 3);
- std::unique_ptr<ShapeCache> referenceCache = makeUnique<ShapeCache>();
+ std::unique_ptr<ShapeCache> referenceCache = WTF::makeUnique<ShapeCache>();
CachingWordShaper referenceShaper(referenceCache.get());
GlyphBuffer referenceGlyphBuffer;
font.setCanShapeWordByWordForTesting(false);
@@ -144,7 +144,7 @@ TEST_F(CachingWordShaperTest, CommonAccentRightToLeftFillGlyphBuffer) {
GlyphBuffer glyphBuffer;
shaper.fillGlyphBuffer(&font, textRun, fallbackFonts, &glyphBuffer, 1, 6);
- std::unique_ptr<ShapeCache> referenceCache = makeUnique<ShapeCache>();
+ std::unique_ptr<ShapeCache> referenceCache = WTF::makeUnique<ShapeCache>();
CachingWordShaper referenceShaper(referenceCache.get());
GlyphBuffer referenceGlyphBuffer;
font.setCanShapeWordByWordForTesting(false);

Powered by Google App Engine
This is Rietveld 408576698