diff options
-rw-r--r-- | chrome/browser/printing/print_preview_tab_controller.cc | 2 | ||||
-rw-r--r-- | chrome/browser/printing/print_preview_tab_controller.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/printing/print_preview_tab_controller.cc b/chrome/browser/printing/print_preview_tab_controller.cc index a9ab8d3..ad6b1b2 100644 --- a/chrome/browser/printing/print_preview_tab_controller.cc +++ b/chrome/browser/printing/print_preview_tab_controller.cc @@ -31,7 +31,7 @@ PrintPreviewTabController* PrintPreviewTabController::GetInstance() { } TabContents* PrintPreviewTabController::GetOrCreatePreviewTab( - TabContents* initiator_tab, int browser_window_id ) { + TabContents* initiator_tab, SessionID::id_type browser_window_id ) { DCHECK(initiator_tab); // Get the print preview tab for |initiator_tab|. diff --git a/chrome/browser/printing/print_preview_tab_controller.h b/chrome/browser/printing/print_preview_tab_controller.h index b169a6e..ebb42c4 100644 --- a/chrome/browser/printing/print_preview_tab_controller.h +++ b/chrome/browser/printing/print_preview_tab_controller.h @@ -16,6 +16,7 @@ #include <map> #include "base/ref_counted.h" +#include "chrome/browser/sessions/session_id.h" #include "content/common/notification_observer.h" #include "content/common/notification_registrar.h" @@ -37,7 +38,7 @@ class PrintPreviewTabController // Get/Create the print preview tab for |initiator_tab|. // |browser_window_id| is the browser window containing |initiator_tab|. TabContents* GetOrCreatePreviewTab( - TabContents* initiator_tab, int browser_window_id); + TabContents* initiator_tab, SessionID::id_type browser_window_id); // Returns preview tab for |tab|. // Returns |tab| if |tab| is a preview tab. |