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

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

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (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/RenderLayerRepainter.cpp ('k') | Source/core/rendering/RenderListBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayerScrollableArea.cpp
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp
index c5cb7f567ea90bedef16c2697a71961771c9261a..65a7669bf47a7fd171a5c5815941c1dce812a959 100644
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp
@@ -216,7 +216,7 @@ void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, co
}
} else {
- box().repaintRectangle(intRect);
+ box().invalidatePaintRectangle(intRect);
}
}
@@ -228,9 +228,9 @@ void RenderLayerScrollableArea::invalidateScrollCornerRect(const IntRect& rect)
}
if (m_scrollCorner)
- m_scrollCorner->repaintRectangle(rect);
+ m_scrollCorner->invalidatePaintRectangle(rect);
if (m_resizer)
- m_resizer->repaintRectangle(rect);
+ m_resizer->invalidatePaintRectangle(rect);
}
bool RenderLayerScrollableArea::isActive() const
@@ -412,9 +412,9 @@ void RenderLayerScrollableArea::setScrollOffset(const IntPoint& newScrollOffset)
if (box().frameView()->isInPerformLayout())
box().setShouldDoFullPaintInvalidationAfterLayout(true);
else
- box().repaintUsingContainer(repaintContainer, pixelSnappedIntRect(layer()->renderer()->previousPaintInvalidationRect()), InvalidationScroll);
+ box().invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(layer()->renderer()->previousPaintInvalidationRect()), InvalidationScroll);
} else {
- box().repaintUsingContainer(repaintContainer, pixelSnappedIntRect(layer()->repainter().repaintRect()), InvalidationScroll);
+ box().invalidatePaintUsingContainer(repaintContainer, pixelSnappedIntRect(layer()->repainter().repaintRect()), InvalidationScroll);
}
}
@@ -643,7 +643,7 @@ void RenderLayerScrollableArea::updateAfterLayout()
box().document().setAnnotatedRegionsDirty(true);
if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
- box().repaint();
+ box().paintInvalidationForWholeRenderer();
if (box().style()->overflowX() == OAUTO || box().style()->overflowY() == OAUTO) {
if (!m_inOverflowRelayout) {
« no previous file with comments | « Source/core/rendering/RenderLayerRepainter.cpp ('k') | Source/core/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698