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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 5520001: Remove initialization of ThumbnailGenerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index f853dc31ceb2144ff65a9df01ee850ed596aa287..6d0a2a1a44c53fdcb434548eeef7975f3bb32990 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -79,7 +79,6 @@
#include "chrome/browser/tab_contents/tab_contents_delegate.h"
#include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
-#include "chrome/browser/tab_contents/thumbnail_generator.h"
#include "chrome/browser/tab_contents/web_navigation_observer.h"
#include "chrome/browser/translate/page_translated_details.h"
#include "chrome/browser/ui/app_modal_dialogs/message_box_handler.h"
@@ -383,15 +382,6 @@ TabContents::TabContents(Profile* profile,
content_settings_delegate_.reset(
new TabSpecificContentSettings(this, profile));
-#if defined(OS_CHROMEOS)
- // Make sure the thumbnailer is started before starting the render manager.
- // The thumbnailer will want to listen for RVH creations, one of which will
- // happen in RVHManager::Init.
- ThumbnailGenerator* generator = g_browser_process->GetThumbnailGenerator();
- if (generator)
- generator->StartThumbnailing();
-#endif
-
render_manager_.Init(profile, site_instance, routing_id);
// We have the initial size of the view be based on the size of the passed in
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698