Index: webkit/plugins/ppapi/host_globals.cc |
diff --git a/webkit/plugins/ppapi/host_globals.cc b/webkit/plugins/ppapi/host_globals.cc |
index 637026963ac2908268adb86ae6ae00dcd5e5ca9c..15dedf29aef3d5c15176be9d217be0459cd2f860 100644 |
--- a/webkit/plugins/ppapi/host_globals.cc |
+++ b/webkit/plugins/ppapi/host_globals.cc |
@@ -25,6 +25,7 @@ |
using ppapi::CheckIdType; |
using ppapi::MakeTypedId; |
using ppapi::PPIdType; |
+using ppapi::ResourceTracker; |
using WebKit::WebConsoleMessage; |
using WebKit::WebString; |
@@ -74,14 +75,17 @@ WebConsoleMessage MakeLogMessage(PP_LogLevel level, |
HostGlobals* HostGlobals::host_globals_ = NULL; |
-HostGlobals::HostGlobals() : ::ppapi::PpapiGlobals() { |
+HostGlobals::HostGlobals() |
+ : ::ppapi::PpapiGlobals(), |
+ resource_tracker_(ResourceTracker::SINGLE_THREADED) { |
DCHECK(!host_globals_); |
host_globals_ = this; |
} |
HostGlobals::HostGlobals( |
::ppapi::PpapiGlobals::PerThreadForTest per_thread_for_test) |
- : ::ppapi::PpapiGlobals(per_thread_for_test) { |
+ : ::ppapi::PpapiGlobals(per_thread_for_test), |
+ resource_tracker_(ResourceTracker::SINGLE_THREADED) { |
DCHECK(!host_globals_); |
} |