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

Unified Diff: cc/test/pixel_test.h

Issue 2128113002: Use a cc::Display for WebView resourceless software draws. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: displaywebview: mojom Created 4 years, 5 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/test/fake_output_surface.h ('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 90f349b0bf8e525bbb9ba8233eb68960f291bd23..4f9eb6eb1db268bbedb2f9a8908b8d2a71b9ee2d 100644
--- a/cc/test/pixel_test.h
+++ b/cc/test/pixel_test.h
@@ -58,6 +58,7 @@ class PixelTest : public testing::Test, RendererClient {
std::unique_ptr<ResourceProvider> resource_provider_;
std::unique_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
std::unique_ptr<DirectRenderer> renderer_;
+ SoftwareRenderer* software_renderer_ = nullptr;
std::unique_ptr<SkBitmap> result_bitmap_;
gfx::Vector2d external_device_viewport_offset_;
gfx::Rect external_device_clip_rect_;
@@ -118,11 +119,7 @@ class SoftwareRendererWithExpandedViewport : public SoftwareRenderer {
const RendererSettings* settings,
OutputSurface* output_surface,
ResourceProvider* resource_provider)
- : SoftwareRenderer(client,
- settings,
- output_surface,
- resource_provider,
- true /* use_image_hijack_canvas */) {}
+ : SoftwareRenderer(client, settings, output_surface, resource_provider) {}
};
class GLRendererWithFlippedSurface : public GLRenderer {
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698