Index: content/plugin/webplugin_delegate_stub.cc |
diff --git a/content/plugin/webplugin_delegate_stub.cc b/content/plugin/webplugin_delegate_stub.cc |
index cf26fc0cac41bb2b1c562c2e601a4c05787e9576..a0fa40a20abeb25e7efd7fad18e49c1bbce6f2d2 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::CreateMetafile()); |
- if (!metafile->CreateDc(NULL, NULL)) { |
+ if (!metafile->Init()) { |
NOTREACHED(); |
return; |
} |