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

Unified Diff: chrome/browser/thumbnails/thumbnail_tab_helper.cc

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary headers. Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/pdf/pdf_browsertest_base.h » ('j') | content/common/readback_types.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/thumbnails/thumbnail_tab_helper.cc
diff --git a/chrome/browser/thumbnails/thumbnail_tab_helper.cc b/chrome/browser/thumbnails/thumbnail_tab_helper.cc
index 30d692f7a1acaecde41a9b87ce82212b17a591b9..85bb6fa595b488283793259c27e4e7418822bfa6 100644
--- a/chrome/browser/thumbnails/thumbnail_tab_helper.cc
+++ b/chrome/browser/thumbnails/thumbnail_tab_helper.cc
@@ -64,7 +64,8 @@ void UpdateThumbnail(const ThumbnailingContext& context,
void ProcessCapturedBitmap(scoped_refptr<ThumbnailingContext> context,
scoped_refptr<ThumbnailingAlgorithm> algorithm,
bool succeeded,
- const SkBitmap& bitmap) {
+ const SkBitmap& bitmap,
+ const int& response) {
if (!succeeded)
return;
« no previous file with comments | « no previous file | chrome/browser/ui/pdf/pdf_browsertest_base.h » ('j') | content/common/readback_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698