Index: ui/events/devices/x11/touch_factory_x11.h |
diff --git a/ui/events/devices/x11/touch_factory_x11.h b/ui/events/devices/x11/touch_factory_x11.h |
index c2e95802deea66f3cf39312efff3e0a744e3c3f8..32876d55eeeccdd3fbe12294baf30af21bf74888 100644 |
--- a/ui/events/devices/x11/touch_factory_x11.h |
+++ b/ui/events/devices/x11/touch_factory_x11.h |
@@ -14,7 +14,9 @@ |
#include "ui/events/devices/events_devices_export.h" |
#include "ui/gfx/sequential_id_generator.h" |
+namespace base { |
template <typename T> struct DefaultSingletonTraits; |
+} // namespace base |
typedef unsigned long Cursor; |
typedef unsigned long Window; |
@@ -95,8 +97,8 @@ class EVENTS_DEVICES_EXPORT TouchFactory { |
void SetPointerDeviceForTest(const std::vector<int>& devices); |
private: |
- // Requirement for Singleton |
- friend struct DefaultSingletonTraits<TouchFactory>; |
+ // Requirement for base::Singleton |
+ friend struct base::DefaultSingletonTraits<TouchFactory>; |
void CacheTouchscreenIds(int id); |