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

Unified Diff: Source/platform/fonts/FontCacheTest.cpp

Issue 468443002: Cleanup namespace usage in platform/fonts/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage in platform/fonts/. Created 6 years, 4 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/platform/fonts/FontCacheKey.h ('k') | Source/platform/fonts/FontDataCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontCacheTest.cpp
diff --git a/Source/platform/fonts/FontCacheTest.cpp b/Source/platform/fonts/FontCacheTest.cpp
index 728fe4a6d088920609802f62e57862d3e178ea39..16320d0049ac5039202b3e49c6a0432e1f2e572e 100644
--- a/Source/platform/fonts/FontCacheTest.cpp
+++ b/Source/platform/fonts/FontCacheTest.cpp
@@ -12,7 +12,7 @@
namespace blink {
-class EmptyPlatform : public blink::Platform {
+class EmptyPlatform : public Platform {
public:
EmptyPlatform() { }
virtual ~EmptyPlatform() { }
@@ -24,9 +24,9 @@ TEST(FontCache, getLastResortFallbackFont)
FontCache* fontCache = FontCache::fontCache();
ASSERT_TRUE(fontCache);
- blink::Platform* oldPlatform = blink::Platform::current();
+ Platform* oldPlatform = Platform::current();
OwnPtr<EmptyPlatform> platform = adoptPtr(new EmptyPlatform);
- blink::Platform::initialize(platform.get());
+ Platform::initialize(platform.get());
if (emptyAtom.isNull())
AtomicString::init();
@@ -40,7 +40,7 @@ TEST(FontCache, getLastResortFallbackFont)
fontData = fontCache->getLastResortFallbackFont(fontDescription, Retain);
EXPECT_TRUE(fontData);
- blink::Platform::initialize(oldPlatform);
+ Platform::initialize(oldPlatform);
}
} // namespace blink
« no previous file with comments | « Source/platform/fonts/FontCacheKey.h ('k') | Source/platform/fonts/FontDataCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698