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

Unified Diff: Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/page/TouchAdjustment.cpp ('k') | Source/core/paint/BlockFlowPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
index d12f586851ec871a31edf9954a56836e13d0f020..a64e87add9efc92ee33d38b4f439a6bdea44c135 100644
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
@@ -492,7 +492,7 @@ static void projectRectsToGraphicsLayerSpaceRecursive(
// of its scroll offset since we want the offset relative to the scrolling content, not
// the element itself.
if (compositedLayer->renderer()->hasOverflowClip())
- rect.move(compositedLayer->renderBox()->scrolledContentOffset());
+ rect.move(compositedLayer->layoutBox()->scrolledContentOffset());
}
Layer::mapRectToPaintBackingCoordinates(compositedLayer->renderer(), rect);
glRects->append(rect);
@@ -762,7 +762,7 @@ Region ScrollingCoordinator::computeShouldHandleScrollGestureOnMainThreadRegion(
// main thread if they are targeting the resizer area. (Resizing is done in EventHandler.cpp
// on main thread).
if (const FrameView::ResizerAreaSet* resizerAreas = frameView->resizerAreas()) {
- for (const RenderBox* box : *resizerAreas) {
+ for (const LayoutBox* box : *resizerAreas) {
IntRect bounds = box->absoluteBoundingBoxRect();
IntRect corner = box->layer()->scrollableArea()->touchResizerCornerRect(bounds);
corner.moveBy(offset);
« no previous file with comments | « Source/core/page/TouchAdjustment.cpp ('k') | Source/core/paint/BlockFlowPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698