summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index a545b03..18532f9 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -700,7 +700,7 @@ bool WebPluginDelegateProxy::CreateSharedBitmap(
#endif
canvas->reset((*memory)->GetPlatformCanvas(plugin_rect_.width(),
plugin_rect_.height()));
- return true;
+ return !!canvas->get();
}
#if defined(OS_MACOSX)