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

Unified Diff: ppapi/cpp/image_data.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/image_data.cc
===================================================================
--- ppapi/cpp/image_data.cc (revision 91773)
+++ ppapi/cpp/image_data.cc (working copy)
@@ -8,7 +8,6 @@
#include <algorithm>
-#include "ppapi/cpp/common.h"
#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/module_impl.h"
@@ -55,7 +54,7 @@
PassRefAndInitData(get_interface<PPB_ImageData>()->Create(
instance->pp_instance(), format, &size.pp_size(),
- BoolToPPBool(init_to_zero)));
+ PP_FromBool(init_to_zero)));
}
ImageData& ImageData::operator=(const ImageData& other) {

Powered by Google App Engine
This is Rietveld 408576698