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

Unified Diff: ui/base/cocoa/tracking_area.mm

Issue 941543002: Mac: Speculative fix for tracking area crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bgv
Patch Set: Fix for shess Created 5 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 | « ui/base/cocoa/base_view.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/tracking_area.mm
diff --git a/ui/base/cocoa/tracking_area.mm b/ui/base/cocoa/tracking_area.mm
index a137794858dadde365a481306ab11816f9fcd31a..5a203da6136a3e88aed362a406d09339f9b43e3e 100644
--- a/ui/base/cocoa/tracking_area.mm
+++ b/ui/base/cocoa/tracking_area.mm
@@ -68,9 +68,9 @@
@implementation CrTrackingArea
- (id)initWithRect:(NSRect)rect
- options:(NSTrackingAreaOptions)options
- owner:(id)owner
- userInfo:(NSDictionary*)userInfo {
+ options:(NSTrackingAreaOptions)options
+ owner:(id)owner
+ userInfo:(NSDictionary*)userInfo{
base::scoped_nsobject<CrTrackingAreaOwnerProxy> ownerProxy(
[[CrTrackingAreaOwnerProxy alloc] initWithOwner:owner]);
if ((self = [super initWithRect:rect
« no previous file with comments | « ui/base/cocoa/base_view.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698