Index: chrome/browser/ui/cocoa/confirm_bubble_controller.h |
=================================================================== |
--- chrome/browser/ui/cocoa/confirm_bubble_controller.h (revision 122469) |
+++ chrome/browser/ui/cocoa/confirm_bubble_controller.h (working copy) |
@@ -9,6 +9,7 @@ |
#import <Cocoa/Cocoa.h> |
#import "base/mac/cocoa_protocols.h" |
+#import "base/memory/scoped_ptr.h" |
class ConfirmBubbleModel; |
@@ -21,7 +22,7 @@ |
@private |
NSView* parent_; // weak |
CGPoint origin_; |
- ConfirmBubbleModel* model_; // weak |
+ scoped_ptr<ConfirmBubbleModel> model_; |
} |
// Creates a ConfirmBubbleController object. |
Robert Sesek
2012/02/17 15:24:25
Adjust comment to say that it takes ownership of |
Hironori Bono
2012/02/22 07:22:50
Done.
|