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

Unified Diff: cc/test/pixel_test.h

Issue 2035913002: Prevent use of GPU IDC in Resourceless Software Draw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 7 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 | « cc/surfaces/display.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test.h
diff --git a/cc/test/pixel_test.h b/cc/test/pixel_test.h
index 717ebbe3cce68d3913a6334f8796c50c63e26242..90f349b0bf8e525bbb9ba8233eb68960f291bd23 100644
--- a/cc/test/pixel_test.h
+++ b/cc/test/pixel_test.h
@@ -118,7 +118,11 @@ class SoftwareRendererWithExpandedViewport : public SoftwareRenderer {
const RendererSettings* settings,
OutputSurface* output_surface,
ResourceProvider* resource_provider)
- : SoftwareRenderer(client, settings, output_surface, resource_provider) {}
+ : SoftwareRenderer(client,
+ settings,
+ output_surface,
+ resource_provider,
+ true /* use_image_hijack_canvas */) {}
};
class GLRendererWithFlippedSurface : public GLRenderer {
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698