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

Unified Diff: ppapi/shared_impl/ppb_file_io_shared.cc

Issue 9391013: Make a global enum to differentiate impl & proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/shared_impl/ppb_file_io_shared.cc
diff --git a/ppapi/shared_impl/ppb_file_io_shared.cc b/ppapi/shared_impl/ppb_file_io_shared.cc
index 7eeab923143259a4483541dbaf50eb9b242b4bef..1470b24f43bb18ff1e814bc2f1b049bdd783e946 100644
--- a/ppapi/shared_impl/ppb_file_io_shared.cc
+++ b/ppapi/shared_impl/ppb_file_io_shared.cc
@@ -36,14 +36,14 @@ PPB_FileIO_Shared::CallbackEntry::~CallbackEntry() {
}
PPB_FileIO_Shared::PPB_FileIO_Shared(PP_Instance instance)
- : Resource(instance),
+ : Resource(OBJECT_IS_IMPL, instance),
file_system_type_(PP_FILESYSTEMTYPE_INVALID),
file_open_(false),
pending_op_(OPERATION_NONE) {
}
PPB_FileIO_Shared::PPB_FileIO_Shared(const HostResource& host_resource)
- : Resource(host_resource),
+ : Resource(OBJECT_IS_PROXY, host_resource),
file_system_type_(PP_FILESYSTEMTYPE_INVALID),
file_open_(false),
pending_op_(OPERATION_NONE) {

Powered by Google App Engine
This is Rietveld 408576698