diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-05 01:14:10 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-05 01:14:10 +0000 |
commit | afc4f26f51818368ae6d9ea3fbe643df2cba6d52 (patch) | |
tree | a09b4e00a231912eeb3de65eef5509f973e91489 /cc/trees/layer_tree_impl.h | |
parent | a9588a1467dd8b214b6e85bbc5b35ce9824ea701 (diff) | |
download | chromium_src-afc4f26f51818368ae6d9ea3fbe643df2cba6d52.zip chromium_src-afc4f26f51818368ae6d9ea3fbe643df2cba6d52.tar.gz chromium_src-afc4f26f51818368ae6d9ea3fbe643df2cba6d52.tar.bz2 |
cc: Fix hit-testing of empty layers.
The RenderSurfaceLayerList is supposed to contain any layers which are visible
or that are eligible for hit testing. This change ensures that empty layers
(those with drawsContent=false) are left in the RSSL when they have touch or
wheel handlers, so that we can find them in hit testing.
BUG=289766
R=danakj@chromium.org
Review URL: https://codereview.chromium.org/25712004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_impl.h')
-rw-r--r-- | cc/trees/layer_tree_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h index eb6a015..6714503 100644 --- a/cc/trees/layer_tree_impl.h +++ b/cc/trees/layer_tree_impl.h @@ -249,8 +249,8 @@ class CC_EXPORT LayerTreeImpl { // Persisted state for non-impl-side-painting. int scrolling_layer_id_from_previous_tree_; - // List of visible layers for the most recently prepared frame. Used for - // rendering and input event hit testing. + // List of visible or hit-testable layers for the most recently prepared + // frame. Used for rendering and input event hit testing. LayerImplList render_surface_layer_list_; bool contents_textures_purged_; |