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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm

Issue 6480067: [Mac] Placate Clang's (pedantic) warning about CrTrackingArea's initializer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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 | « no previous file | chrome/browser/ui/cocoa/tracking_area.h » ('j') | chrome/browser/ui/cocoa/tracking_area.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
index eb49281b24190e69fd3681f8502b02f9ceec5a00..4de1db1af3dec7a6c9187d47550866fd0245b1d9 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
@@ -325,7 +325,7 @@ private:
[[CrTrackingArea alloc] initWithRect:[newTabButton_ bounds]
options:(NSTrackingMouseEnteredAndExited |
NSTrackingActiveAlways)
- owner:self
+ proxiedOwner:self
userInfo:nil]);
if (browserWindow) // Nil for Browsers without a tab strip (e.g. popups).
[newTabTrackingArea_ clearOwnerWhenWindowWillClose:browserWindow];
@@ -359,7 +359,7 @@ private:
NSTrackingMouseMoved |
NSTrackingActiveAlways |
NSTrackingInVisibleRect
- owner:self
+ proxiedOwner:self
userInfo:nil]);
if (browserWindow) // Nil for Browsers without a tab strip (e.g. popups).
[trackingArea_ clearOwnerWhenWindowWillClose:browserWindow];
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/tracking_area.h » ('j') | chrome/browser/ui/cocoa/tracking_area.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698