Index: printing/emf_win.cc |
diff --git a/printing/emf_win.cc b/printing/emf_win.cc |
index b2699fdfe4a9df963dfacac9e5f3e00cd195486e..160f0306c6b9ce409cf929c4159de790fefa35bf 100644 |
--- a/printing/emf_win.cc |
+++ b/printing/emf_win.cc |
@@ -106,7 +106,7 @@ class RasterBitmap { |
::SetGraphicsMode(context_.Get(), GM_ADVANCED); |
void* bits = NULL; |
gfx::Rect bitmap_rect(raster_size); |
- gfx::CreateBitmapHeader(raster_size.width(), raster_size.height(), |
+ skia::CreateBitmapHeader(raster_size.width(), raster_size.height(), |
&header_.bmiHeader); |
bitmap_.reset(CreateDIBSection(context_.Get(), &header_, DIB_RGB_COLORS, |
&bits, NULL, 0)); |
@@ -388,7 +388,7 @@ bool Emf::Record::SafePlayback(Emf::EnumerationContext* context) const { |
return false; |
} |
BITMAPINFOHEADER bmi = {0}; |
- gfx::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi); |
+ skia::CreateBitmapHeader(bitmap->width(), bitmap->height(), &bmi); |
res = (0 != StretchDIBits(hdc, sdib_record->xDest, sdib_record->yDest, |
sdib_record->cxDest, |
sdib_record->cyDest, sdib_record->xSrc, |