Chromium Code Reviews| Index: Source/core/dom/Document.cpp |
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
| index 3be45408feba27f733a3d37ddd47bf290919db05..403b2acb03fffd927725930caada5a89290aced7 100644 |
| --- a/Source/core/dom/Document.cpp |
| +++ b/Source/core/dom/Document.cpp |
| @@ -2796,7 +2796,7 @@ MouseEventWithHitTestResults Document::prepareMouseEvent(const HitTestRequest& r |
| { |
| ASSERT(!renderer() || renderer()->isRenderView()); |
| - if (!renderer()) |
| + if (!renderer() || !shouldScheduleLayout()) |
|
eseidel
2013/05/14 00:35:03
What if I have a renderer, but I don't need a layo
cbiesinger
2013/05/14 00:46:57
I think my/ojan's previous comments addressed this
|
| return MouseEventWithHitTestResults(event, HitTestResult(LayoutPoint())); |
| HitTestResult result(documentPoint); |