Index: chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm b/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm |
index 58c5c99f6027a5985648ef8f005eed1bbc38ddbc..ddd06f4aaf9bd28a180e97098262ca189821b2b6 100644 |
--- a/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm |
@@ -235,7 +235,7 @@ NSCursor* LoadWebKitCursor(WebKit::WebCursorInfo::Type type) { |
// the cursor will flicker. Disable cursor rects and grab the current cursor |
// so we can set it on mouseDragged: events to avoid flicker. |
[[self window] disableCursorRects]; |
- dragCursor_.reset([NSCursor currentCursor], base::scoped_policy::RETAIN); |
+ dragCursor_.reset([[NSCursor currentCursor] retain]); |
} |
- (void)cleanupAfterDrag { |