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

Unified Diff: content/browser/renderer_host/compositing_iosurface_context_mac.h

Issue 478483002: Remove code used by --disable-delegated-renderer on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « no previous file | content/browser/renderer_host/compositing_iosurface_context_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositing_iosurface_context_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_context_mac.h b/content/browser/renderer_host/compositing_iosurface_context_mac.h
index 316940169fc791fd2c3eb2abbf818839549fd85c..5468da2c22cda36ef43af3fd0785615d129012f9 100644
--- a/content/browser/renderer_host/compositing_iosurface_context_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_context_mac.h
@@ -19,8 +19,6 @@
namespace content {
-class CompositingIOSurfaceShaderPrograms;
-
class CompositingIOSurfaceContext
: public base::RefCounted<CompositingIOSurfaceContext>,
public content::GpuDataManagerObserver {
@@ -46,9 +44,6 @@ class CompositingIOSurfaceContext
void PoisonContextAndSharegroup();
bool HasBeenPoisoned() const { return poisoned_; }
- CompositingIOSurfaceShaderPrograms* shader_program_cache() const {
- return shader_program_cache_.get();
- }
CGLContextObj cgl_context() const { return cgl_context_; }
int window_number() const { return window_number_; }
@@ -61,8 +56,7 @@ class CompositingIOSurfaceContext
CompositingIOSurfaceContext(
int window_number,
base::ScopedTypeRef<CGLContextObj> clg_context_strong,
- CGLContextObj clg_context,
- scoped_ptr<CompositingIOSurfaceShaderPrograms> shader_program_cache);
+ CGLContextObj clg_context);
virtual ~CompositingIOSurfaceContext();
int window_number_;
@@ -70,7 +64,6 @@ class CompositingIOSurfaceContext
// Weak, backed by |cgl_context_strong_|.
CGLContextObj cgl_context_;
- scoped_ptr<CompositingIOSurfaceShaderPrograms> shader_program_cache_;
bool poisoned_;
// The global map from window number and window ordering to
« no previous file with comments | « no previous file | content/browser/renderer_host/compositing_iosurface_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698