| Index: chrome/plugin/webplugin_delegate_stub.cc
|
| diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
|
| index e404b1e88fe72798d055a821abd11501650b3099..ff7d55e48e659375b43271638220f856fd44b6e0 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;
|
| }
|
|
|