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

Unified Diff: chrome/browser/tab_contents/thumbnail_generator.h

Issue 10349013: Prevent browser thumbnailer from trying to read from frontbuffer (surface texture) when none exists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months 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
Index: chrome/browser/tab_contents/thumbnail_generator.h
diff --git a/chrome/browser/tab_contents/thumbnail_generator.h b/chrome/browser/tab_contents/thumbnail_generator.h
index 70d9e2f30d00712524c896de12661967f71e6757..97726dff09a39fccd18f11e47e5f29f4c57d5da4 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.h
+++ b/chrome/browser/tab_contents/thumbnail_generator.h
@@ -142,9 +142,7 @@ class ThumbnailGenerator : public content::NotificationObserver,
const ThumbnailGenerator::ClipResult& clip_result);
// Returns true if we should update the thumbnail of the given URL.
mazda 2012/05/03 19:57:31 URL -> web contents
- static bool ShouldUpdateThumbnail(Profile* profile,
- history::TopSites* top_sites,
- const GURL& url);
+ static bool ShouldUpdateThumbnail(content::WebContents* web_contents);
// content::WebContentsObserver overrides.
virtual void DidStartLoading() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/thumbnail_generator.cc » ('j') | chrome/browser/tab_contents/thumbnail_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698