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

Unified Diff: ppapi/cpp/output_traits.h

Issue 9728001: Make the file chooser use PP_ArrayOutput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.cc ('k') | ppapi/cpp/trusted/file_chooser_trusted.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/output_traits.h
diff --git a/ppapi/cpp/output_traits.h b/ppapi/cpp/output_traits.h
index 6326c32925821ab8527ae2ee8215ecd6b0d461ad..237b0bcf215083af2f17337624e18be31456453b 100644
--- a/ppapi/cpp/output_traits.h
+++ b/ppapi/cpp/output_traits.h
@@ -149,7 +149,7 @@ struct CallbackOutputTraits<Var> {
template<typename T>
struct GenericVectorCallbackOutputTraits {
// All arrays are output via a PP_ArrayOutput type.
- typedef PP_ArrayOutput* APIArgType;
+ typedef PP_ArrayOutput APIArgType;
// We store the array as this adapter which combines the PP_ArrayOutput
// structure with the underlying std::vector that it will write into.
@@ -177,7 +177,7 @@ struct GenericVectorCallbackOutputTraits {
// class of pp::Resource.
template<typename T>
struct ResourceVectorCallbackOutputTraits {
- typedef PP_ArrayOutput* APIArgType;
+ typedef PP_ArrayOutput APIArgType;
typedef ResourceArrayOutputAdapterWithStorage<T> StorageType;
static inline APIArgType StorageToAPIArg(StorageType& t) {
@@ -207,7 +207,7 @@ struct CallbackOutputTraits< std::vector<T> >
template<>
struct CallbackOutputTraits< std::vector<pp::Var> > {
// All arrays are output via a PP_ArrayOutput type.
- typedef PP_ArrayOutput* APIArgType;
+ typedef PP_ArrayOutput APIArgType;
// We store the array as this adapter which combines the PP_ArrayOutput
// structure with the underlying std::vector that it will write into.
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.cc ('k') | ppapi/cpp/trusted/file_chooser_trusted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698