summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_resource.cc')
-rw-r--r--webkit/glue/plugins/pepper_resource.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_resource.cc b/webkit/glue/plugins/pepper_resource.cc
index b17fc31..cf7a7fe 100644
--- a/webkit/glue/plugins/pepper_resource.cc
+++ b/webkit/glue/plugins/pepper_resource.cc
@@ -9,6 +9,13 @@
namespace pepper {
+Resource::Resource(PluginModule* module)
+ : resource_id_(0), module_(module) {
+}
+
+Resource::~Resource() {
+}
+
PP_Resource Resource::GetReference() {
ResourceTracker *tracker = ResourceTracker::Get();
if (resource_id_)