Index: chrome/browser/printing/print_view_manager.cc |
=================================================================== |
--- chrome/browser/printing/print_view_manager.cc (revision 103831) |
+++ chrome/browser/printing/print_view_manager.cc (working copy) |
@@ -17,7 +17,6 @@ |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/print_messages.h" |
#include "content/browser/renderer_host/render_view_host.h" |
-#include "content/browser/tab_contents/navigation_entry.h" |
#include "content/browser/tab_contents/tab_contents.h" |
#include "content/common/notification_details.h" |
#include "content/common/notification_service.h" |
@@ -159,13 +158,6 @@ |
return GenerateRenderSourceName(tab_contents()); |
} |
-GURL PrintViewManager::RenderSourceUrl() { |
- NavigationEntry* entry = tab_contents()->controller().GetActiveEntry(); |
- if (entry) |
- return entry->virtual_url(); |
- return GURL(); |
-} |
- |
void PrintViewManager::OnDidGetPrintedPagesCount(int cookie, int number_pages) { |
DCHECK_GT(cookie, 0); |
DCHECK_GT(number_pages, 0); |