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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 1516683002: Introducing LayoutObject::mapToVisibleRectInContainerSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rename to visibleRectInContainerSpace Created 5 years 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/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 5a38b9ab974ac9936100501fc2aeb538eb86621e..abdb3a89b59976d2c0acfa9b0e428c353b89b8d5 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -2287,7 +2287,7 @@ IntRect CompositedLayerMapping::recomputeInterestRect(const GraphicsLayer* graph
LayoutView* rootView = anchorLayoutObject->view();
while (rootView->frame()->ownerLayoutObject())
rootView = rootView->frame()->ownerLayoutObject()->view();
- anchorLayoutObject->mapRectToPaintInvalidationBacking(rootView, visibleContentRect, 0);
+ anchorLayoutObject->visibleRectInContainerSpace(rootView, visibleContentRect, 0);
visibleContentRect.intersect(LayoutRect(rootView->frameView()->visibleContentRect()));
// Map the visible content rect from screen space to local graphics layer space.

Powered by Google App Engine
This is Rietveld 408576698