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

Unified Diff: skia/ext/bitmap_platform_device_mac_unittest.cc

Issue 1508893003: Use proper namespace in skia/ext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.cc ('k') | skia/ext/skia_utils_ios.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_mac_unittest.cc
diff --git a/skia/ext/bitmap_platform_device_mac_unittest.cc b/skia/ext/bitmap_platform_device_mac_unittest.cc
index 7265bc4cfb3a2d7148337de2c7f6a2c6ec34d5c1..0ba6772701348e80ee6d5228d2ceb3884c4848dd 100644
--- a/skia/ext/bitmap_platform_device_mac_unittest.cc
+++ b/skia/ext/bitmap_platform_device_mac_unittest.cc
@@ -38,7 +38,7 @@ TEST_F(BitmapPlatformDeviceMacTest, ClipRectTransformWithTranslate) {
bitmap_->setMatrixClip(transform, clip_region, ignore);
CGContextRef context = bitmap_->GetBitmapContext();
- SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context));
+ SkRect clip_rect = skia::CGRectToSkRect(CGContextGetClipBoundingBox(context));
transform.mapRect(&clip_rect);
EXPECT_EQ(0, clip_rect.fLeft);
EXPECT_EQ(0, clip_rect.fTop);
@@ -58,7 +58,7 @@ TEST_F(BitmapPlatformDeviceMacTest, ClipRectTransformWithScale) {
bitmap_->setMatrixClip(transform, clip_region, unused);
CGContextRef context = bitmap_->GetBitmapContext();
- SkRect clip_rect = gfx::CGRectToSkRect(CGContextGetClipBoundingBox(context));
+ SkRect clip_rect = skia::CGRectToSkRect(CGContextGetClipBoundingBox(context));
transform.mapRect(&clip_rect);
EXPECT_EQ(0, clip_rect.fLeft);
EXPECT_EQ(0, clip_rect.fTop);
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.cc ('k') | skia/ext/skia_utils_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698