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

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

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/RenderFlowThread.cpp ('k') | Source/core/rendering/RenderFullScreen.cpp » ('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 7483725737ca1da9e5d7cb29c4182acea103d9f3..ff29797af8c1b05b4aacb46764f3dc6b357c809e 100644
--- a/Source/core/rendering/RenderFrameSet.cpp
+++ b/Source/core/rendering/RenderFrameSet.cpp
@@ -439,12 +439,12 @@ void RenderFrameSet::layout()
{
ASSERT(needsLayout());
- bool doFullRepaint = selfNeedsLayout() && checkForRepaintDuringLayout();
+ bool doFullRepaint = selfNeedsLayout() && checkForPaintInvalidationDuringLayout();
LayoutRect oldBounds;
const RenderLayerModelObject* repaintContainer = 0;
if (doFullRepaint) {
- repaintContainer = containerForRepaint();
- oldBounds = boundsRectForRepaint(repaintContainer);
+ repaintContainer = containerForPaintInvalidation();
+ oldBounds = boundsRectForPaintInvalidation(repaintContainer);
}
if (!parent()->isFrameSet() && !document().printing()) {
@@ -474,7 +474,7 @@ void RenderFrameSet::layout()
if (doFullRepaint) {
invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(oldBounds), InvalidationSelfLayout);
- LayoutRect newBounds = boundsRectForRepaint(repaintContainer);
+ LayoutRect newBounds = boundsRectForPaintInvalidation(repaintContainer);
if (newBounds != oldBounds)
invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(newBounds), InvalidationSelfLayout);
}
@@ -514,7 +514,7 @@ void RenderFrameSet::positionFrames()
if (width != child->width() || height != child->height()) {
child->setWidth(width);
child->setHeight(height);
- child->setNeedsLayoutAndFullRepaint();
+ child->setNeedsLayoutAndFullPaintInvalidation();
child->layout();
}
@@ -554,7 +554,7 @@ void RenderFrameSet::continueResizing(GridAxis& axis, int position)
return;
axis.m_deltas[axis.m_splitBeingResized - 1] += delta;
axis.m_deltas[axis.m_splitBeingResized] -= delta;
- setNeedsLayoutAndFullRepaint();
+ setNeedsLayoutAndFullPaintInvalidation();
}
bool RenderFrameSet::userResize(MouseEvent* evt)
« no previous file with comments | « Source/core/rendering/RenderFlowThread.cpp ('k') | Source/core/rendering/RenderFullScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698