summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 00:41:11 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-10 00:41:11 +0000
commit17e0843927433cb7c6bf679828432a31f5781582 (patch)
tree5e0b9dd2a5c277d784ebac586f5ab0b82979fdbc /cc/test/layer_tree_test.cc
parent2a1d6df0dce7af3b2a4722a93f7dc61388557a0c (diff)
downloadchromium_src-17e0843927433cb7c6bf679828432a31f5781582.zip
chromium_src-17e0843927433cb7c6bf679828432a31f5781582.tar.gz
chromium_src-17e0843927433cb7c6bf679828432a31f5781582.tar.bz2
Remove old texture path in TextureLayer
This lets us also remove LayerTreeHost::AcquireLayerTextures and related scheduler things. BUG=337922 Review URL: https://codereview.chromium.org/227413011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r--cc/test/layer_tree_test.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 0063c80..69f42e0 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());