summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/image_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/image_data.cc')
-rw-r--r--ppapi/cpp/image_data.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ppapi/cpp/image_data.cc b/ppapi/cpp/image_data.cc
index 33178a6..5fcc4c3 100644
--- a/ppapi/cpp/image_data.cc
+++ b/ppapi/cpp/image_data.cc
@@ -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 @@ ImageData::ImageData(Instance* instance,
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) {