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

Unified Diff: webkit/plugins/ppapi/host_globals.cc

Issue 12378050: PPAPI: Remove threading options; it's always on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix PDFResource unit test Created 7 years, 9 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
« no previous file with comments | « webkit/plugins/plugin_switches.cc ('k') | webkit/plugins/ppapi/host_var_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_);
}
« no previous file with comments | « webkit/plugins/plugin_switches.cc ('k') | webkit/plugins/ppapi/host_var_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698