Index: content/plugin/webplugin_delegate_stub.cc |
diff --git a/content/plugin/webplugin_delegate_stub.cc b/content/plugin/webplugin_delegate_stub.cc |
index 2de6e4256d60ed477aa9d4cf58941d0f608af60d..76b4c23a781ac5a7489a1ba696a2c394f5b6e60b 100644 |
--- a/content/plugin/webplugin_delegate_stub.cc |
+++ b/content/plugin/webplugin_delegate_stub.cc |
@@ -273,7 +273,7 @@ void WebPluginDelegateStub::OnPrint(base::SharedMemoryHandle* shared_memory, |
#if defined(OS_WIN) |
scoped_ptr<printing::NativeMetafile> metafile( |
printing::NativeMetafileFactory::Create()); |
- if (!metafile->CreateDc(NULL, NULL)) { |
+ if (!metafile->Init()) { |
NOTREACHED(); |
return; |
} |