Index: chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc |
diff --git a/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc b/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc |
index 2c49eba8f5b6ae9e58e1b0db55f9771548cd2e0c..015e04e820c22056aae7e8f5acb1f5ae252947ff 100644 |
--- a/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc |
+++ b/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc |
@@ -20,12 +20,9 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/renderer_host/chrome_render_message_filter.h" |
-#include "chrome/browser/search/instant_service.h" |
-#include "chrome/browser/search/instant_service_factory.h" |
#include "chrome/browser/ui/android/tab_model/tab_model.h" |
#include "chrome/browser/ui/android/tab_model/tab_model_list.h" |
#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_instant_controller.h" |
#include "chrome/browser/ui/browser_iterator.h" |
#include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" |
#include "chrome/browser/ui/webui/memory_internals/memory_internals_handler.h" |
@@ -110,13 +107,6 @@ void GetAllWebContents(std::set<content::WebContents*>* web_contents) { |
for (size_t j = 0; j < contentses.size(); ++j) |
web_contents->insert(contentses[j]); |
} |
- // Add all the Instant Extended prerendered NTPs. |
- for (size_t i = 0; i < profiles.size(); ++i) { |
- const InstantService* instant_service = |
- InstantServiceFactory::GetForProfile(profiles[i]); |
- if (instant_service && instant_service->GetNTPContents()) |
- web_contents->insert(instant_service->GetNTPContents()); |
- } |
#if defined(ENABLE_FULL_PRINTING) |
// Add all the pages being background printed. |
printing::BackgroundPrintingManager* printing_manager = |