diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 04:51:31 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-19 04:51:31 +0000 |
commit | e0a95601abd099d46a5eeec286e12e9b15e61060 (patch) | |
tree | 9b02930f7385e621600020aa56047ee7a492634d /webkit/plugins/ppapi/ppb_graphics_2d_impl.cc | |
parent | 7635a992f7ea8dde5ec3a7a51a84370894819948 (diff) | |
download | chromium_src-e0a95601abd099d46a5eeec286e12e9b15e61060.zip chromium_src-e0a95601abd099d46a5eeec286e12e9b15e61060.tar.gz chromium_src-e0a95601abd099d46a5eeec286e12e9b15e61060.tar.bz2 |
Fix forgotten bool location.
TBR=vtl
Review URL: http://codereview.chromium.org/7428003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92973 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/ppb_graphics_2d_impl.cc')
-rw-r--r-- | webkit/plugins/ppapi/ppb_graphics_2d_impl.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc index 493b344..d32dc46 100644 --- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc +++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc @@ -14,7 +14,6 @@ #include "ppapi/c/pp_rect.h" #include "ppapi/c/pp_resource.h" #include "ppapi/c/ppb_graphics_2d.h" -#include "ppapi/cpp/common.h" #include "ppapi/thunk/enter.h" #include "ppapi/thunk/thunk.h" #include "third_party/skia/include/core/SkBitmap.h" @@ -200,7 +199,7 @@ PP_Bool PPB_Graphics2D_Impl::Describe(PP_Size* size, PP_Bool* is_always_opaque) { size->width = image_data_->width(); size->height = image_data_->height(); - *is_always_opaque = pp::BoolToPPBool(is_always_opaque_); + *is_always_opaque = PP_FromBool(is_always_opaque_); return PP_TRUE; } |