Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: ppapi/cpp/graphics_2d.cc

Issue 7237039: Remove PPBoolToBool and BoolToPPBool and use PP_FromBool and PP_ToBool instead. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/graphics_2d.cc
===================================================================
--- ppapi/cpp/graphics_2d.cc (revision 91773)
+++ ppapi/cpp/graphics_2d.cc (working copy)
@@ -6,7 +6,6 @@
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_graphics_2d.h"
-#include "ppapi/cpp/common.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/instance.h"
@@ -42,7 +41,7 @@
PassRefFromConstructor(get_interface<PPB_Graphics2D>()->Create(
instance->pp_instance(),
&size.pp_size(),
- BoolToPPBool(is_always_opaque)));
+ PP_FromBool(is_always_opaque)));
if (!is_null()) {
// Only save the size if allocation succeeded.
size_ = size;

Powered by Google App Engine
This is Rietveld 408576698