summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 16:32:30 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 16:32:30 +0000
commit34b43737cc9e993301528549cc2e17837e9c5674 (patch)
treeeb31f7817f6c82bed3fd8ec9eb35e26c85a6a5c4 /webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
parent579f2a1522db8ca46a8ed3807e268ac05c073cf4 (diff)
downloadchromium_src-34b43737cc9e993301528549cc2e17837e9c5674.zip
chromium_src-34b43737cc9e993301528549cc2e17837e9c5674.tar.gz
chromium_src-34b43737cc9e993301528549cc2e17837e9c5674.tar.bz2
Fixing PPB_Graphics2D::Describe
BUG= http://code.google.com/p/chromium/issues/detail?id=78074 TEST= ppapi/tests/test_case.html?testcase=Graphics2D Patch by Sang Ahn Original Review http://codereview.chromium.org/6728034/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80638 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.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
index 5e98f44..1bb83ee 100644
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
@@ -14,6 +14,7 @@
#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 "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/blit.h"
#include "ui/gfx/point.h"
@@ -258,7 +259,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_FALSE; // TODO(brettw) implement this.
+ *is_always_opaque = pp::BoolToPPBool(is_always_opaque_);
return PP_TRUE;
}