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

Unified Diff: content/test/test_render_view_host.cc

Issue 1113573002: Maintain minimal error response. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove READBACK_NOT_SUPPORTED Created 5 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: content/test/test_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index b6f7a86eb9123ae6d6c7db9cd0acf166ca21c61c..782e07ae0509a3f4b58d4b2c6ca99278b0b9c74d 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -125,7 +125,7 @@ void TestRenderWidgetHostView::CopyFromCompositingSurface(
const gfx::Size& dst_size,
ReadbackRequestCallback& callback,
const SkColorType color_type) {
- callback.Run(SkBitmap(), content::READBACK_NOT_SUPPORTED);
+ callback.Run(SkBitmap(), content::READBACK_FAILED);
}
void TestRenderWidgetHostView::CopyFromCompositingSurfaceToVideoFrame(

Powered by Google App Engine
This is Rietveld 408576698