| Index: chrome/test/ui_test_utils_mac.mm
|
| ===================================================================
|
| --- chrome/test/ui_test_utils_mac.mm (revision 57106)
|
| +++ chrome/test/ui_test_utils_mac.mm (working copy)
|
| @@ -29,7 +29,8 @@
|
|
|
| // Handle the special case of focusing a TextField.
|
| if ([firstResponder isKindOfClass:[NSTextView class]]) {
|
| - NSView* delegate = [(NSTextView*)firstResponder delegate];
|
| + NSView* delegate = static_cast<NSView*>([(NSTextView*)firstResponder
|
| + delegate]);
|
| if (delegate == view)
|
| return true;
|
| }
|
|
|