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

Unified Diff: chrome/browser/ui/cocoa/confirm_bubble_controller.mm

Issue 9414039: Use scoped_ptr<> to store ConfirmBubbleModel. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
Index: chrome/browser/ui/cocoa/confirm_bubble_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/confirm_bubble_controller.mm (revision 122928)
+++ chrome/browser/ui/cocoa/confirm_bubble_controller.mm (working copy)
@@ -19,7 +19,7 @@
if ((self = [super initWithNibName:nil bundle:nil])) {
parent_ = parent;
origin_ = origin;
- model_ = model;
+ model_.reset(model);
}
return self;
}
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller.h ('k') | chrome/browser/ui/cocoa/confirm_bubble_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698