diff options
Diffstat (limited to 'chrome/plugin')
-rw-r--r-- | chrome/plugin/webplugin_delegate_stub.cc | 2 | ||||
-rw-r--r-- | chrome/plugin/webplugin_proxy.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc index 2188627..800db41 100644 --- a/chrome/plugin/webplugin_delegate_stub.cc +++ b/chrome/plugin/webplugin_delegate_stub.cc @@ -236,7 +236,7 @@ void WebPluginDelegateStub::OnPrint(base::SharedMemoryHandle* shared_memory, return; } HDC hdc = emf.hdc(); - skia::PlatformDeviceWin::InitializeDC(hdc); + skia::PlatformDevice::InitializeDC(hdc); delegate_->Print(hdc); if (!emf.CloseDc()) { NOTREACHED(); diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index a0fd2ab..286659b 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -476,7 +476,7 @@ void WebPluginProxy::ConvertBuffer(const base::SharedMemoryHandle& buffer, return; } - skia::PlatformDeviceWin::InitializeDC(hdc->Get()); + skia::PlatformDevice::InitializeDC(hdc->Get()); SelectObject(hdc->Get(), bitmap->Get()); } |