summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 23:29:40 +0000
commit21f527e6a4a812b604dd0891b27878d8418c04d9 (patch)
tree4dec5cb778e0b0755606f1d2113b3b6097188f85 /chrome/browser/printing
parentf8a2599cd63347322133ffa5c89195d66dc3d4b3 (diff)
downloadchromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.zip
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.gz
chromium_src-21f527e6a4a812b604dd0891b27878d8418c04d9.tar.bz2
Move the "platform" wrappers in skia/ext to the skia namespace.
Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r--chrome/browser/printing/printed_document.cc2
-rw-r--r--chrome/browser/printing/printing_layout_uitest.cc2
-rw-r--r--chrome/browser/printing/win_printing_context.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/printing/printed_document.cc b/chrome/browser/printing/printed_document.cc
index f6e783c..7108f83 100644
--- a/chrome/browser/printing/printed_document.cc
+++ b/chrome/browser/printing/printed_document.cc
@@ -103,7 +103,7 @@ void PrintedDocument::RenderPrintedPage(const PrintedPage& page,
// the device context.
int saved_state = SaveDC(context);
DCHECK_NE(saved_state, 0);
- gfx::PlatformDeviceWin::InitializeDC(context);
+ skia::PlatformDeviceWin::InitializeDC(context);
{
// Save the state (again) to apply the necessary world transformation.
int saved_state = SaveDC(context);
diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc
index 8a15aa4..a8c5059 100644
--- a/chrome/browser/printing/printing_layout_uitest.cc
+++ b/chrome/browser/printing/printing_layout_uitest.cc
@@ -172,7 +172,7 @@ class Image {
&bits, NULL, 0);
EXPECT_TRUE(bitmap);
EXPECT_TRUE(SelectObject(hdc, bitmap));
- gfx::PlatformDeviceWin::InitializeDC(hdc);
+ skia::PlatformDeviceWin::InitializeDC(hdc);
EXPECT_TRUE(emf.Playback(hdc, NULL));
row_length_ = size_.width() * sizeof(uint32);
size_t bytes = row_length_ * size_.height();
diff --git a/chrome/browser/printing/win_printing_context.cc b/chrome/browser/printing/win_printing_context.cc
index 8fb9c28..1b8b055 100644
--- a/chrome/browser/printing/win_printing_context.cc
+++ b/chrome/browser/printing/win_printing_context.cc
@@ -377,7 +377,7 @@ bool PrintingContext::InitializeSettings(const DEVMODE& dev_mode,
const std::wstring& new_device_name,
const PRINTPAGERANGE* ranges,
int number_ranges) {
- gfx::PlatformDeviceWin::InitializeDC(hdc_);
+ skia::PlatformDeviceWin::InitializeDC(hdc_);
DCHECK(GetDeviceCaps(hdc_, CLIPCAPS));
DCHECK(GetDeviceCaps(hdc_, RASTERCAPS) & RC_STRETCHDIB);
DCHECK(GetDeviceCaps(hdc_, RASTERCAPS) & RC_BITMAP64);