Index: chrome/browser/printing/background_printing_manager.cc |
diff --git a/chrome/browser/printing/background_printing_manager.cc b/chrome/browser/printing/background_printing_manager.cc |
index 4a29c654a2885641bc9ab1fb520d37f1084258db..1e5c58d661534afa27689138f2d499858bdbdbef 100644 |
--- a/chrome/browser/printing/background_printing_manager.cc |
+++ b/chrome/browser/printing/background_printing_manager.cc |
@@ -28,7 +28,7 @@ class BackgroundPrintingManager::Observer |
private: |
virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
- virtual void WebContentsDestroyed(WebContents* web_contents) OVERRIDE; |
+ virtual void WebContentsDestroyed() OVERRIDE; |
BackgroundPrintingManager* manager_; |
}; |
@@ -43,9 +43,8 @@ void BackgroundPrintingManager::Observer::RenderProcessGone( |
base::TerminationStatus status) { |
manager_->DeletePreviewContents(web_contents()); |
} |
-void BackgroundPrintingManager::Observer::WebContentsDestroyed( |
- WebContents* web_contents) { |
- manager_->DeletePreviewContents(web_contents); |
+void BackgroundPrintingManager::Observer::WebContentsDestroyed() { |
+ manager_->DeletePreviewContents(web_contents()); |
} |
BackgroundPrintingManager::BackgroundPrintingManager() { |