Chromium Code Reviews| Index: Source/core/layout/LayoutView.cpp |
| diff --git a/Source/core/layout/LayoutView.cpp b/Source/core/layout/LayoutView.cpp |
| index 6f78b62d2a3d951b85f995676a60e33b8caa4b2d..df2b76be985a245625a563307978a768e4eba8eb 100644 |
| --- a/Source/core/layout/LayoutView.cpp |
| +++ b/Source/core/layout/LayoutView.cpp |
| @@ -97,7 +97,9 @@ bool LayoutView::hitTest(const HitTestRequest& request, const HitTestLocation& l |
| // Note that Document::updateLayout calls its parent's updateLayout. |
| // FIXME: It should be the caller's responsibility to ensure an up-to-date layout. |
| frameView()->updateLayoutAndStyleIfNeededRecursive(); |
| + compositor()->updateIfNeededRecursive(); |
| commitPendingSelection(); |
| + ASSERT(document().lifecycle().state() >= DocumentLifecycle::CompositingClean); |
|
leviw_travelin_and_unemployed
2015/03/12 20:09:32
This assert should go somewhere deeper in Blink, l
qiankun
2015/03/13 03:23:10
Done.
|
| bool hitLayer = layer()->hitTest(request, location, result); |