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

Unified Diff: content/browser/compositor/onscreen_display_client.h

Issue 511423002: Use GpuBrowserCompositorOutputSurface with Surfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/compositor/onscreen_display_client.h
diff --git a/content/browser/compositor/onscreen_display_client.h b/content/browser/compositor/onscreen_display_client.h
index 58d76e55af36bbfbf8776188bfcc29eb5a3d7a98..7dc073cf9e951b58e5e64e021fbacaabaa6fe68d 100644
--- a/content/browser/compositor/onscreen_display_client.h
+++ b/content/browser/compositor/onscreen_display_client.h
@@ -24,8 +24,7 @@ namespace content {
class OnscreenDisplayClient : cc::DisplayClient {
public:
OnscreenDisplayClient(
- const scoped_refptr<cc::ContextProvider>& onscreen_context_provider,
- scoped_ptr<cc::OutputSurface> software_surface,
+ scoped_ptr<cc::OutputSurface> output_surface,
cc::SurfaceManager* manager,
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
virtual ~OnscreenDisplayClient();
@@ -39,8 +38,7 @@ class OnscreenDisplayClient : cc::DisplayClient {
private:
void Draw();
- scoped_refptr<cc::ContextProvider> onscreen_context_provider_;
- scoped_ptr<cc::OutputSurface> software_surface_;
+ scoped_ptr<cc::OutputSurface> output_surface_;
scoped_ptr<cc::Display> display_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
bool scheduled_draw_;
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/compositor/onscreen_display_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698