Index: src/shared/ppapi_proxy/plugin_resource.cc |
diff --git a/src/shared/ppapi_proxy/plugin_resource.cc b/src/shared/ppapi_proxy/plugin_resource.cc |
index 0f26216fd304740bc23778f3ff4d4157b9a7d75b..36598ba6cce97733eb2241b29e2721f865b81417 100644 |
--- a/src/shared/ppapi_proxy/plugin_resource.cc |
+++ b/src/shared/ppapi_proxy/plugin_resource.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Native Client Authors. All rights reserved. |
+// Copyright (c) 2011 The Native Client Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -6,21 +6,11 @@ |
namespace ppapi_proxy { |
-PluginResource::PluginResource() |
- : resource_id_(0) { |
+PluginResource::PluginResource() { |
} |
PluginResource::~PluginResource() { |
} |
-PP_Resource PluginResource::GetReference() { |
- PluginResourceTracker::Get()->AddRefResource(resource_id_); |
- return resource_id_; |
-} |
- |
-void PluginResource::StoppedTracking() { |
- resource_id_ = 0; |
-} |
- |
} // namespace ppapi_proxy |