From b49cbcf2cb1808755be7d629df962850756fe691 Mon Sep 17 00:00:00 2001 From: "awalker@google.com" Date: Thu, 14 Aug 2008 17:47:00 +0000 Subject: git-svn-id: svn://svn.chromium.org/chrome/trunk/src@873 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/plugin/webplugin_delegate_stub.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/plugin/webplugin_delegate_stub.cc') diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc index 8004cdf..64c96fa 100644 --- a/chrome/plugin/webplugin_delegate_stub.cc +++ b/chrome/plugin/webplugin_delegate_stub.cc @@ -32,7 +32,7 @@ #include "base/command_line.h" #include "base/time.h" #include "base/gfx/bitmap_header.h" -#include "base/gfx/platform_device.h" +#include "base/gfx/platform_device_win.h" #include "chrome/common/chrome_switches.h" #include "chrome/common/gfx/emf.h" #include "chrome/common/plugin_messages.h" @@ -257,7 +257,7 @@ void WebPluginDelegateStub::OnPaint(const PluginMsg_Paint_Params& params) { NOTREACHED(); return; } - gfx::PlatformDevice::InitializeDC(hdc); + gfx::PlatformDeviceWin::InitializeDC(hdc); SelectObject(hdc, hbitmap); SetWorldTransform(hdc, ¶ms.xf); @@ -274,7 +274,7 @@ void WebPluginDelegateStub::OnPrint(PluginMsg_PrintResponse_Params* params) { return; } HDC hdc = emf.hdc(); - gfx::PlatformDevice::InitializeDC(hdc); + gfx::PlatformDeviceWin::InitializeDC(hdc); delegate_->Print(hdc); if (!emf.CloseDc()) { NOTREACHED(); @@ -305,7 +305,7 @@ void WebPluginDelegateStub::OnPaintIntoSharedMemory( return; } HDC hdc = emf.hdc(); - gfx::PlatformDevice::InitializeDC(hdc); + gfx::PlatformDeviceWin::InitializeDC(hdc); if (delegate_->windowless()) { WindowlessPaint(hdc, params); -- cgit v1.1