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

Unified Diff: Source/core/rendering/RenderFrameSet.cpp

Issue 301843002: Store repaint rects in the coordinate space of their backing GraphicsLayer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changed name. Created 6 years, 7 months 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
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderInline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderFrameSet.cpp
diff --git a/Source/core/rendering/RenderFrameSet.cpp b/Source/core/rendering/RenderFrameSet.cpp
index 42dfde73da8511f53ca157d720981f9bf0a28cfd..948102000f01c7d77d7eb83cea2b61a80b01ba35 100644
--- a/Source/core/rendering/RenderFrameSet.cpp
+++ b/Source/core/rendering/RenderFrameSet.cpp
@@ -444,7 +444,7 @@ void RenderFrameSet::layout()
const RenderLayerModelObject* repaintContainer = 0;
if (doFullRepaint) {
repaintContainer = containerForRepaint();
- oldBounds = clippedOverflowRectForRepaint(repaintContainer);
+ oldBounds = boundsRectForRepaint(repaintContainer);
}
if (!parent()->isFrameSet() && !document().printing()) {
@@ -474,7 +474,7 @@ void RenderFrameSet::layout()
if (doFullRepaint) {
repaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldBounds), InvalidationSelfLayout);
- LayoutRect newBounds = clippedOverflowRectForRepaint(repaintContainer);
+ LayoutRect newBounds = boundsRectForRepaint(repaintContainer);
if (newBounds != oldBounds)
repaintUsingContainer(repaintContainer, pixelSnappedIntRect(newBounds), InvalidationSelfLayout);
}
« no previous file with comments | « Source/core/rendering/RenderBox.cpp ('k') | Source/core/rendering/RenderInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698