From 8d96434f9b5e6dca2ee4b6417bf7392b3c2a7b70 Mon Sep 17 00:00:00 2001 From: "vollick@chromium.org" Date: Thu, 15 May 2014 18:22:27 +0000 Subject: Remove hit-testing-only RSLL entries As of https://codereview.chromium.org/266913021/ we no longer hit test via the RSLL; we walk the tree instead. This means we can remove the machinery added to allow hidden layers to appear in the RSLL for hit testing purposes. This is essentially a revert of https://codereview.chromium.org/25712004 R=danakj@chromium.org BUG=None Review URL: https://codereview.chromium.org/289973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270742 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/fake_content_layer_impl.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'cc/test/fake_content_layer_impl.cc') diff --git a/cc/test/fake_content_layer_impl.cc b/cc/test/fake_content_layer_impl.cc index b091d07..7e5a853 100644 --- a/cc/test/fake_content_layer_impl.cc +++ b/cc/test/fake_content_layer_impl.cc @@ -7,9 +7,7 @@ namespace cc { FakeContentLayerImpl::FakeContentLayerImpl(LayerTreeImpl* tree_impl, int id) - : TiledLayerImpl(tree_impl, id), - lost_output_surface_count_(0), - append_quads_count_(0) { + : TiledLayerImpl(tree_impl, id), lost_output_surface_count_(0) { } FakeContentLayerImpl::~FakeContentLayerImpl() {} @@ -28,11 +26,4 @@ void FakeContentLayerImpl::ReleaseResources() { ++lost_output_surface_count_; } -void FakeContentLayerImpl::AppendQuads(QuadSink* quad_sink, - AppendQuadsData* append_quads_data) { - TiledLayerImpl::AppendQuads(quad_sink, append_quads_data); - ++append_quads_count_; -} - - } // namespace cc -- cgit v1.1