diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 17:47:49 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-18 17:47:49 +0000 |
commit | de9cfbce825a56e003bf0140ac83a3211c72ad9f (patch) | |
tree | 5d04897da40a06dbaffdfce61493ce7193700b11 /chrome | |
parent | 377b4cc93ed0ca53988f5cc23026fb1ca3c6d838 (diff) | |
download | chromium_src-de9cfbce825a56e003bf0140ac83a3211c72ad9f.zip chromium_src-de9cfbce825a56e003bf0140ac83a3211c72ad9f.tar.gz chromium_src-de9cfbce825a56e003bf0140ac83a3211c72ad9f.tar.bz2 |
Pull latest ppapi for initial testing support, implement checks so the tests pass in Chrome. Mostly, this involves better error checking.
The most substantial change is that I made TransportDIB able to return NULL on failure to make a PlatformCanvas, which we run into when makeing too large of a canvas from a plugin. I checked all the callers of this function to make sure they all handled the problem (many already did).
TEST=pulls Pepper test
BUG=-none
Review URL: http://codereview.chromium.org/2101004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/renderer/webplugin_delegate_proxy.cc | 2 |
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) |