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

Unified Diff: chrome/browser/cocoa/repost_form_warning_mac.h

Issue 1530032: Ensure proper teardown of repost form warning objects. (Closed)
Patch Set: Remove unnecessary code from RepostFormWarningGtk. Created 10 years, 8 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 | « no previous file | chrome/browser/cocoa/repost_form_warning_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/repost_form_warning_mac.h
diff --git a/chrome/browser/cocoa/repost_form_warning_mac.h b/chrome/browser/cocoa/repost_form_warning_mac.h
index 7139be69225eb38e28b65d0a244388af0b253b43..a1ebeeec9178af695afb97214e6a1cd7cfbc8aae 100644
--- a/chrome/browser/cocoa/repost_form_warning_mac.h
+++ b/chrome/browser/cocoa/repost_form_warning_mac.h
@@ -7,7 +7,7 @@
#import <Cocoa/Cocoa.h>
-#include "base/scoped_nsobject.h"
+#include "base/scoped_ptr.h"
#include "chrome/browser/cocoa/constrained_window_mac.h"
class RepostFormWarningController;
@@ -31,8 +31,7 @@ class RepostFormWarningMac : public ConstrainedDialogDelegate {
private:
virtual ~RepostFormWarningMac();
- // Close the sheet.
- void Dismiss();
+ scoped_ptr<RepostFormWarningController> controller_;
DISALLOW_COPY_AND_ASSIGN(RepostFormWarningMac);
};
« no previous file with comments | « no previous file | chrome/browser/cocoa/repost_form_warning_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698