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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.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
Index: content/browser/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index f1aa6d4053ea217e84436950ebf02d127609ddd6..2952ec70a9b9774fab25b317d0ef3e826319762e 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -292,7 +292,7 @@ void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface(
const gfx::Size& /* dst_size */,
CopyFromCompositingSurfaceCallback& callback,
const SkColorType color_type) {
- callback.Run(false, SkBitmap());
+ callback.Run(false, SkBitmap(), content::READBACK_NOTSUPPORTED);
}
void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame(

Powered by Google App Engine
This is Rietveld 408576698