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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 years, 6 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
Index: ui/base/cocoa/hover_button.mm
diff --git a/ui/base/cocoa/hover_button.mm b/ui/base/cocoa/hover_button.mm
index a2348986560a4d0716477bcabe3e36fc80f33dab..bfe013996d42b55fb6d5dac17b4b381753a07a63 100644
--- a/ui/base/cocoa/hover_button.mm
+++ b/ui/base/cocoa/hover_button.mm
@@ -44,7 +44,7 @@
// it can be freed while |super mouseDown:| is in its loop, and the
// |checkImageState| call will crash.
// http://crbug.com/28220
- scoped_nsobject<HoverButton> myself([self retain]);
+ base::scoped_nsobject<HoverButton> myself([self retain]);
[super mouseDown:theEvent];
// We need to check the image state after the mouseDown event loop finishes.

Powered by Google App Engine
This is Rietveld 408576698