Index: webkit/glue/plugins/pepper_resource_tracker.h |
diff --git a/webkit/glue/plugins/pepper_resource_tracker.h b/webkit/glue/plugins/pepper_resource_tracker.h |
index 09ff976e2d6cbcf95128c960432edccf450e51d8..0e463b4d982b07af6a2f37d3514dcde7e2f1eeee 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; |