diff options
Diffstat (limited to 'webkit/glue/plugins/pepper_resource_tracker.h')
-rw-r--r-- | webkit/glue/plugins/pepper_resource_tracker.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/webkit/glue/plugins/pepper_resource_tracker.h b/webkit/glue/plugins/pepper_resource_tracker.h index 09ff976..0e463b4 100644 --- a/webkit/glue/plugins/pepper_resource_tracker.h +++ b/webkit/glue/plugins/pepper_resource_tracker.h @@ -12,11 +12,14 @@ #include "base/gtest_prod_util.h" #include "base/hash_tables.h" #include "base/ref_counted.h" -#include "base/singleton.h" #include "ppapi/c/pp_instance.h" #include "ppapi/c/pp_module.h" #include "ppapi/c/pp_resource.h" +namespace base { +template <typename T> struct DefaultLazyInstanceTraits; +} + namespace pepper { class PluginInstance; @@ -91,7 +94,7 @@ class ResourceTracker { PluginInstance* GetInstance(PP_Instance instance); private: - friend struct DefaultSingletonTraits<ResourceTracker>; + friend struct base::DefaultLazyInstanceTraits<ResourceTracker>; friend class Resource; friend class ResourceTrackerTest; |