OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 else | 381 else |
382 quadForFakeMouseMoveEvent = FloatQuad(layer()->repainter().repaintRect()
); | 382 quadForFakeMouseMoveEvent = FloatQuad(layer()->repainter().repaintRect()
); |
383 | 383 |
384 if (repaintContainer) | 384 if (repaintContainer) |
385 quadForFakeMouseMoveEvent = repaintContainer->localToAbsoluteQuad(quadFo
rFakeMouseMoveEvent); | 385 quadForFakeMouseMoveEvent = repaintContainer->localToAbsoluteQuad(quadFo
rFakeMouseMoveEvent); |
386 frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad(quadForFakeMouseM
oveEvent); | 386 frame->eventHandler().dispatchFakeMouseMoveEventSoonInQuad(quadForFakeMouseM
oveEvent); |
387 | 387 |
388 bool requiresRepaint = true; | 388 bool requiresRepaint = true; |
389 | 389 |
390 if (m_box->view()->compositor()->inCompositingMode()) { | 390 if (m_box->view()->compositor()->inCompositingMode()) { |
| 391 // Hits in virtual/gpu/fast/canvas/canvas-scroll-path-into-view.html. |
| 392 DisableCompositingQueryAsserts disabler; |
391 bool onlyScrolledCompositedLayers = scrollsOverflow() | 393 bool onlyScrolledCompositedLayers = scrollsOverflow() |
392 && !layer()->hasVisibleNonLayerContent() | 394 && !layer()->hasVisibleNonLayerContent() |
393 && !layer()->hasNonCompositedChild() | 395 && !layer()->hasNonCompositedChild() |
394 && !layer()->hasBlockSelectionGapBounds() | 396 && !layer()->hasBlockSelectionGapBounds() |
395 && !m_box->isMarquee(); | 397 && !m_box->isMarquee(); |
396 | 398 |
397 if (usesCompositedScrolling() || onlyScrolledCompositedLayers) | 399 if (usesCompositedScrolling() || onlyScrolledCompositedLayers) |
398 requiresRepaint = false; | 400 requiresRepaint = false; |
399 } | 401 } |
400 | 402 |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1505 void RenderLayerScrollableArea::setForceNeedsCompositedScrolling(ForceNeedsCompo
sitedScrollingMode mode) | 1507 void RenderLayerScrollableArea::setForceNeedsCompositedScrolling(ForceNeedsCompo
sitedScrollingMode mode) |
1506 { | 1508 { |
1507 if (m_forceNeedsCompositedScrolling == mode) | 1509 if (m_forceNeedsCompositedScrolling == mode) |
1508 return; | 1510 return; |
1509 | 1511 |
1510 m_forceNeedsCompositedScrolling = mode; | 1512 m_forceNeedsCompositedScrolling = mode; |
1511 layer()->didUpdateNeedsCompositedScrolling(); | 1513 layer()->didUpdateNeedsCompositedScrolling(); |
1512 } | 1514 } |
1513 | 1515 |
1514 } // Namespace WebCore | 1516 } // Namespace WebCore |
OLD | NEW |