Index: ui/events/cocoa/events_mac_unittest.mm |
diff --git a/ui/events/cocoa/events_mac_unittest.mm b/ui/events/cocoa/events_mac_unittest.mm |
index 77f85495f481a8b32842a5acb0d13d4a94e4eeab..701739da41a950072f8fed9b5cee147d5c8eb338 100644 |
--- a/ui/events/cocoa/events_mac_unittest.mm |
+++ b/ui/events/cocoa/events_mac_unittest.mm |
@@ -8,6 +8,7 @@ |
#include "base/mac/scoped_cftyperef.h" |
#include "base/memory/scoped_ptr.h" |
+#import "base/test/scoped_class_swizzler_mac.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/events/event_constants.h" |
#import "ui/events/test/cocoa_test_event_utils.h" |
@@ -57,7 +58,7 @@ class EventsMacTest : public CocoaTest { |
void SwizzleMiddleMouseButton() { |
DCHECK(!swizzler_); |
- swizzler_.reset(new ScopedClassSwizzler( |
+ swizzler_.reset(new base::ScopedClassSwizzler( |
[NSEvent class], |
[MiddleMouseButtonNumberDonor class], |
@selector(buttonNumber))); |
@@ -67,7 +68,7 @@ class EventsMacTest : public CocoaTest { |
DCHECK(!g_test_window); |
DCHECK(!swizzler_); |
g_test_window = test_window(); |
- swizzler_.reset(new ScopedClassSwizzler( |
+ swizzler_.reset(new base::ScopedClassSwizzler( |
[NSEvent class], |
[TestWindowDonor class], |
@selector(window))); |
@@ -117,7 +118,7 @@ class EventsMacTest : public CocoaTest { |
} |
private: |
- scoped_ptr<ScopedClassSwizzler> swizzler_; |
+ scoped_ptr<base::ScopedClassSwizzler> swizzler_; |
DISALLOW_COPY_AND_ASSIGN(EventsMacTest); |
}; |