Index: chrome/plugin/webplugin_delegate_stub.cc |
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc |
index 0624e3e16a06d31016328f7115bd2116912992d9..2a0d8e7bd9d53f41ca1b84c5a19d587b3d3bd22d 100644 |
--- a/chrome/plugin/webplugin_delegate_stub.cc |
+++ b/chrome/plugin/webplugin_delegate_stub.cc |
@@ -277,10 +277,10 @@ void WebPluginDelegateStub::OnPrint(base::SharedMemoryHandle* shared_memory, |
NOTREACHED(); |
return; |
} |
- HDC hdc = metafile->hdc(); |
+ HDC hdc = metafile->context(); |
skia::PlatformDevice::InitializeDC(hdc); |
delegate_->Print(hdc); |
- if (!metafile->CloseDc()) { |
+ if (!metafile->Close()) { |
NOTREACHED(); |
return; |
} |