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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 30c217d4ed09101fd51363470204871914f1f04d..5db9d784b5e700222cb1d42b691814b6c3e37554 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -399,11 +399,9 @@ void PaintLayerScrollableArea::updateScrollOffset(const ScrollOffset& newOffset,
// The caret rect needs to be invalidated after scrolling
frame->selection().setCaretRectNeedsUpdate();
- FloatQuad quadForFakeMouseMoveEvent = FloatQuad(
- FloatRect(layer()
- ->layoutObject()
- ->previousPaintInvalidationRectIncludingCompositedScrolling(
- paintInvalidationContainer)));
+ FloatQuad quadForFakeMouseMoveEvent = FloatQuad(FloatRect(
+ layer()->layoutObject()->previousVisualRectIncludingCompositedScrolling(
+ paintInvalidationContainer)));
quadForFakeMouseMoveEvent =
paintInvalidationContainer.localToAbsoluteQuad(quadForFakeMouseMoveEvent);

Powered by Google App Engine
This is Rietveld 408576698