| Index: cc/layer_tree_host_common.cc
|
| diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc
|
| index 4d3377a919de45164bb5a33f7b0663b8d4397fcd..3d06aa4a12b98233ed420ff14677606e16c3c93e 100644
|
| --- a/cc/layer_tree_host_common.cc
|
| +++ b/cc/layer_tree_host_common.cc
|
| @@ -7,10 +7,12 @@
|
| #include <algorithm>
|
|
|
| #include "base/debug/trace_event.h"
|
| +#include "cc/heads_up_display_layer_impl.h"
|
| #include "cc/layer.h"
|
| #include "cc/layer_impl.h"
|
| #include "cc/layer_iterator.h"
|
| #include "cc/layer_sorter.h"
|
| +#include "cc/layer_tree_impl.h"
|
| #include "cc/math_util.h"
|
| #include "cc/render_surface.h"
|
| #include "cc/render_surface_impl.h"
|
| @@ -1154,6 +1156,10 @@ LayerImpl* LayerTreeHostCommon::findLayerThatIsHitByPoint(const gfx::PointF& scr
|
| if (pointIsClippedBySurfaceOrClipRect(screenSpacePoint, currentLayer))
|
| continue;
|
|
|
| + // Skip the HUD layer.
|
| + if (currentLayer == currentLayer->layerTreeImpl()->hud_layer())
|
| + continue;
|
| +
|
| foundLayer = currentLayer;
|
| break;
|
| }
|
|
|