summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/print_web_view_helper_win.cc
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 23:15:06 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-04 23:15:06 +0000
commit9b61753963f16cc6cf48f388a2c24e064add4cbb (patch)
tree6fbae6593eb9465c320a5f35ebdaa24612818bb0 /chrome/renderer/print_web_view_helper_win.cc
parent22796b1a1791a0d1e84bf2d0eeba82d08d0687c1 (diff)
downloadchromium_src-9b61753963f16cc6cf48f388a2c24e064add4cbb.zip
chromium_src-9b61753963f16cc6cf48f388a2c24e064add4cbb.tar.gz
chromium_src-9b61753963f16cc6cf48f388a2c24e064add4cbb.tar.bz2
Rename some printing classes and minor cleanups.
Rename: PdfPsMetafile -> PdfMetafileCairo PdfMetafile -> PdfMetafileCg (Mac) VectorPlatformDevice -> VectorPlatformDeviceEmf/Cairo (Windows/Linux varients) This is in preparation for VectorPlatformDeviceSkia. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6783036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper_win.cc')
-rw-r--r--chrome/renderer/print_web_view_helper_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/renderer/print_web_view_helper_win.cc b/chrome/renderer/print_web_view_helper_win.cc
index b7ed1cb..e7a6c97 100644
--- a/chrome/renderer/print_web_view_helper_win.cc
+++ b/chrome/renderer/print_web_view_helper_win.cc
@@ -11,7 +11,7 @@
#include "printing/native_metafile.h"
#include "printing/units.h"
#include "skia/ext/vector_canvas.h"
-#include "skia/ext/vector_platform_device.h"
+#include "skia/ext/vector_platform_device_emf_win.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
#include "ui/gfx/gdi_util.h"
#include "ui/gfx/point.h"
@@ -230,8 +230,8 @@ void PrintWebViewHelper::RenderPage(
bool result = (*metafile)->FinishPage();
DCHECK(result);
- skia::VectorPlatformDevice* platform_device =
- static_cast<skia::VectorPlatformDevice*>(device);
+ skia::VectorPlatformDeviceEmf* platform_device =
+ static_cast<skia::VectorPlatformDeviceEmf*>(device);
if (platform_device->alpha_blend_used() && !params.supports_alpha_blend) {
// Currently, we handle alpha blend transparency for a single page.
// Therefore, expecting a metafile with page count 1.