Index: chrome/renderer/render_view.cc |
=================================================================== |
--- chrome/renderer/render_view.cc (revision 6968) |
+++ chrome/renderer/render_view.cc (working copy) |
@@ -511,7 +511,7 @@ |
emf.CreateDc(NULL, NULL); |
HDC hdc = emf.hdc(); |
DCHECK(hdc); |
- gfx::PlatformDeviceWin::InitializeDC(hdc); |
+ skia::PlatformDeviceWin::InitializeDC(hdc); |
gfx::Rect rect; |
frame->GetPageRect(params.page_number, &rect); |
@@ -535,7 +535,7 @@ |
// GDI drawing code fails. |
// Mix of Skia and GDI based. |
- gfx::PlatformCanvasWin canvas(src_size_x, src_size_y, true); |
+ skia::PlatformCanvasWin canvas(src_size_x, src_size_y, true); |
canvas.drawARGB(255, 255, 255, 255, SkPorterDuff::kSrc_Mode); |
PlatformContextSkia context(&canvas); |
if (!frame->SpoolPage(params.page_number, &context)) { |
@@ -561,7 +561,7 @@ |
DCHECK(retval != GDI_ERROR); |
#else |
// 100% GDI based. |
- gfx::VectorCanvas canvas(hdc, src_size_x, src_size_y); |
+ skia::VectorCanvas canvas(hdc, src_size_x, src_size_y); |
// Set the clipping region to be sure to not overflow. |
SkRect clip_rect; |
clip_rect.set(0, 0, SkIntToScalar(src_size_x), SkIntToScalar(src_size_y)); |
@@ -755,7 +755,7 @@ |
double begin = time_util::GetHighResolutionTimeNow(); |
#endif |
- scoped_ptr<gfx::BitmapPlatformDevice> device; |
+ scoped_ptr<skia::BitmapPlatformDevice> device; |
if (!frame->CaptureImage(&device, true)) |
return false; |