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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted code and fixed build issue in test. Created 6 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
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 6e906960d07bd06784fafb0e399ea84d81046aea..e2f6a38158a911cd4824ebecdeaee04e8b45c5e5 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -57,8 +57,7 @@ class ContentViewCoreImpl : public ContentViewCore,
float scale,
SkColorType color_type,
gfx::Rect src_subrect,
- const base::Callback<void(bool, const SkBitmap&)>& result_callback)
- override;
+ ReadbackRequestCallback& result_callback) override;
virtual float GetDpiScale() const override;
virtual void PauseOrResumeGeolocation(bool should_pause) override;
virtual void RequestTextSurroundingSelection(

Powered by Google App Engine
This is Rietveld 408576698