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

Unified Diff: Source/core/paint/BoxPainter.cpp

Issue 1158183006: Remove the old multicol implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/paint/BlockPainter.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxPainter.cpp
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
index 03f2e91244e8791fe91554d4f865225e5f48309a..dca38860090b7bc3d4d8fdd52d8134b942862e78 100644
--- a/Source/core/paint/BoxPainter.cpp
+++ b/Source/core/paint/BoxPainter.cpp
@@ -74,7 +74,7 @@ LayoutRect BoxPainter::boundsForDrawingRecorder(const LayoutPoint& paintOffset)
LayoutRect BoxPainter::rootBackgroundRect()
{
LayoutView* layoutView = m_layoutBox.view();
- LayoutRect result = layoutView->backgroundRect(&m_layoutBox);
+ LayoutRect result(layoutView->unscaledDocumentRect());
dsinclair 2015/06/03 13:52:58 This change seems unrelated?
mstensho (USE GERRIT) 2015/06/03 13:56:21 I killed LayoutView::backgroundRect(), because it
mstensho (USE GERRIT) 2015/06/03 14:05:52 Done.
// In root-layer-scrolls mode, root background is painted in coordinates of the
// root scrolling contents layer, so don't need scroll offset adjustment.
if (layoutView->hasOverflowClip() && !layoutView->frame()->settings()->rootLayerScrolls())
« no previous file with comments | « Source/core/paint/BlockPainter.cpp ('k') | Source/core/paint/DeprecatedPaintLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698