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

Unified Diff: cc/layer_tree_host.cc

Issue 11028132: cc: The recent texture manager bug uncovered some unnecessary code (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make haveTexturesForTilesConst Created 8 years, 2 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/layer_tree_host.h ('k') | cc/overdraw_metrics.h » ('j') | cc/tiled_layer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.cc
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index 8d4d63b47f56d07804af7aa56f7a177aad7fba68..363f454f8486da862478a77b63ebaadfb79de0a8 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -300,7 +300,6 @@ void CCLayerTreeHost::willCommit()
void CCLayerTreeHost::commitComplete()
{
- m_deleteTextureAfterCommitList.clear();
m_client->didCommit();
}
@@ -761,11 +760,6 @@ bool CCLayerTreeHost::requestPartialTextureUpdate()
return true;
}
-void CCLayerTreeHost::deleteTextureAfterCommit(scoped_ptr<CCPrioritizedTexture> texture)
-{
- m_deleteTextureAfterCommitList.append(texture.Pass());
-}
-
void CCLayerTreeHost::setDeviceScaleFactor(float deviceScaleFactor)
{
if (deviceScaleFactor == m_deviceScaleFactor)
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/overdraw_metrics.h » ('j') | cc/tiled_layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698