Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Unified Diff: chrome/test/ui_test_utils_mac.mm

Issue 3137033: Minor fixes to keep TOT working with the 10.6 SDK. Note use of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/task_manager_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « chrome/browser/cocoa/task_manager_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698