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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 11776033: Ensure that render surface layer list is not dirty/empty before hit testing for touch events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit test and calling updateDrawProperties directly Created 7 years, 11 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 | « no previous file | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 3c22180ecf923f86ccf6aed16f3c80d8c8f60075..d0d568eeb4e3c9125928da075e48b83deb8ab8ca 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -376,6 +376,7 @@ void LayerTreeHostImpl::scheduleAnimation()
bool LayerTreeHostImpl::haveTouchEventHandlersAt(const gfx::Point& viewportPoint)
{
+ updateDrawProperties();
enne (OOO) 2013/01/08 02:26:49 This is just a tiny request, but can you do what s
gfx::PointF deviceViewportPoint = gfx::ScalePoint(viewportPoint, m_deviceScaleFactor);
« no previous file with comments | « no previous file | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698