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

Unified Diff: cc/output/gl_renderer.h

Issue 22852006: cc: Don't leak the texture returned in CopyOutputRequest ever. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: glrendererleak: unneeded forward declare Created 7 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 | cc/output/gl_renderer.cc » ('j') | cc/trees/layer_tree_host_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index b1a3643b2ba8d98ef9ec3f3e4f31d80d073f3834..396942324ddfced5b53cdac80c546244fdc3bffc 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -212,16 +212,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
scoped_ptr<CopyOutputRequest> request,
bool success);
- static void DeleteTextureReleaseCallback(
- scoped_refptr<base::SingleThreadTaskRunner> task_runner,
- base::WeakPtr<GLRenderer> gl_renderer,
- unsigned texture_id,
- unsigned sync_point,
- bool lost_resource);
- void DeleteTextureReleaseCallbackOnImplThread(unsigned texture_id,
- unsigned sync_point,
- bool lost_resource);
-
void ReinitializeGrCanvas();
void ReinitializeGLState();
@@ -459,8 +449,6 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
SkBitmap on_demand_tile_raster_bitmap_;
ResourceProvider::ResourceId on_demand_tile_raster_resource_id_;
- base::WeakPtrFactory<GLRenderer> weak_factory_;
-
DISALLOW_COPY_AND_ASSIGN(GLRenderer);
};
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | cc/trees/layer_tree_host_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698