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

Unified Diff: chrome/browser/printing/print_preview_tab_controller.h

Issue 10068036: RefCounted types should not have public destructors, chrome/browser/ part 5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix Created 8 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
Index: chrome/browser/printing/print_preview_tab_controller.h
diff --git a/chrome/browser/printing/print_preview_tab_controller.h b/chrome/browser/printing/print_preview_tab_controller.h
index af23ca7ce8474dbb3dd37ec255a5342367976117..cf2d6f170875fa0ed58274dd225962dae806834f 100644
--- a/chrome/browser/printing/print_preview_tab_controller.h
+++ b/chrome/browser/printing/print_preview_tab_controller.h
@@ -36,8 +36,6 @@ class PrintPreviewTabController
public:
PrintPreviewTabController();
- virtual ~PrintPreviewTabController();
-
static PrintPreviewTabController* GetInstance();
// Initiate print preview for |initiator_tab|.
@@ -81,6 +79,8 @@ class PrintPreviewTabController
// Value: Initiator tab.
typedef std::map<TabContentsWrapper*, TabContentsWrapper*> PrintPreviewTabMap;
+ virtual ~PrintPreviewTabController();
+
// Handler for the RENDERER_PROCESS_CLOSED notification. This is observed when
// the initiator renderer crashed.
void OnRendererProcessClosed(content::RenderProcessHost* rph);
« no previous file with comments | « chrome/browser/printing/print_job_unittest.cc ('k') | chrome/browser/printing/print_preview_tab_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698