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

Unified Diff: cc/test/layer_tree_test.cc

Issue 227413011: Remove old texture path in TextureLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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/layer_tree_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 0063c80805d992fb92008a2adbb172d4123d7317..69f42e00d8f08e66e4c888a6a8df9ef045d30ee1 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -429,13 +429,6 @@ void LayerTreeTest::PostReadbackToMainThread() {
base::Bind(&LayerTreeTest::DispatchReadback, main_thread_weak_ptr_));
}
-void LayerTreeTest::PostAcquireLayerTextures() {
- main_task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&LayerTreeTest::DispatchAcquireLayerTextures,
- main_thread_weak_ptr_));
-}
-
void LayerTreeTest::PostSetNeedsRedrawToMainThread() {
main_task_runner_->PostTask(FROM_HERE,
base::Bind(&LayerTreeTest::DispatchSetNeedsRedraw,
@@ -570,13 +563,6 @@ void LayerTreeTest::DispatchReadback() {
}
}
-void LayerTreeTest::DispatchAcquireLayerTextures() {
- DCHECK(!proxy() || proxy()->IsMainThread());
-
- if (layer_tree_host_)
- layer_tree_host_->AcquireLayerTextures();
-}
-
void LayerTreeTest::DispatchSetNeedsRedraw() {
DCHECK(!proxy() || proxy()->IsMainThread());
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698