Index: ppapi/shared_impl/resource_var.cc |
diff --git a/ppapi/shared_impl/resource_var.cc b/ppapi/shared_impl/resource_var.cc |
index c5719aa6477880ce260447cba65bbb1402c18ec1..3e34c381f70b8d61547ab83a6ce3b5043d8a6b85 100644 |
--- a/ppapi/shared_impl/resource_var.cc |
+++ b/ppapi/shared_impl/resource_var.cc |
@@ -9,18 +9,8 @@ |
namespace ppapi { |
-ResourceVar::ResourceVar() : pp_resource_(0) {} |
- |
-ResourceVar::ResourceVar(PP_Resource pp_resource) : pp_resource_(pp_resource) {} |
- |
-ResourceVar::ResourceVar(const IPC::Message& creation_message) |
- : pp_resource_(0), |
- creation_message_(creation_message) {} |
- |
-ResourceVar::~ResourceVar() {} |
- |
-bool ResourceVar::IsPending() const { |
- return pp_resource_ == 0 && creation_message_.type() != 0; |
+const IPC::Message* ResourceVar::GetCreationMessage() const { |
+ return NULL; |
} |
ResourceVar* ResourceVar::AsResourceVar() { |
@@ -42,4 +32,8 @@ ResourceVar* ResourceVar::FromPPVar(PP_Var var) { |
return var_object->AsResourceVar(); |
} |
+ResourceVar::ResourceVar() {} |
+ |
+ResourceVar::~ResourceVar() {} |
+ |
} // namespace ppapi |