| Index: ui/base/cocoa/cocoa_base_utils_unittest.mm
|
| diff --git a/ui/base/cocoa/cocoa_base_utils_unittest.mm b/ui/base/cocoa/cocoa_base_utils_unittest.mm
|
| index 5749e2d176c9518e542a6a8d2e340b260ed08d2d..f0fb48656a8920c7bcab7e073ed2f74e2fd96b06 100644
|
| --- a/ui/base/cocoa/cocoa_base_utils_unittest.mm
|
| +++ b/ui/base/cocoa/cocoa_base_utils_unittest.mm
|
| @@ -6,6 +6,7 @@
|
|
|
| #import <objc/objc-class.h>
|
|
|
| +#import "base/test/scoped_class_swizzler_mac.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/platform_test.h"
|
| #include "ui/events/event_constants.h"
|
| @@ -39,8 +40,8 @@ TEST_F(CocoaBaseUtilsTest, WindowOpenDispositionFromNSEvent) {
|
|
|
| // Shift+Middle Click = new foreground tab.
|
| {
|
| - ScopedClassSwizzler swizzler([NSEvent class], [TestEvent class],
|
| - @selector(modifierFlags));
|
| + base::ScopedClassSwizzler swizzler([NSEvent class], [TestEvent class],
|
| + @selector(modifierFlags));
|
| me = cocoa_test_event_utils::MouseEventWithType(NSOtherMouseUp,
|
| NSShiftKeyMask);
|
| EXPECT_EQ(NEW_FOREGROUND_TAB, WindowOpenDispositionFromNSEvent(me));
|
|
|