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

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

Issue 951453003: Rename rendering/RenderScrollbar* to layout/LayoutScrollbar* (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/paint/ScrollbarPainter.h ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ScrollbarPainter.cpp
diff --git a/Source/core/paint/ScrollbarPainter.cpp b/Source/core/paint/ScrollbarPainter.cpp
index 245419ee56969100ddf20c6a99a3d56c48a2f4dd..6fde2c781e87804c8cc88a2573b57ad8d2e00b57 100644
--- a/Source/core/paint/ScrollbarPainter.cpp
+++ b/Source/core/paint/ScrollbarPainter.cpp
@@ -5,22 +5,22 @@
#include "config.h"
#include "core/paint/ScrollbarPainter.h"
+#include "core/layout/LayoutScrollbar.h"
+#include "core/layout/LayoutScrollbarPart.h"
#include "core/layout/PaintInfo.h"
#include "core/paint/BlockPainter.h"
-#include "core/rendering/RenderScrollbar.h"
-#include "core/rendering/RenderScrollbarPart.h"
#include "platform/graphics/GraphicsContext.h"
namespace blink {
void ScrollbarPainter::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect)
{
- RenderScrollbarPart* partRenderer = m_renderScrollbar.getPart(partType);
+ LayoutScrollbarPart* partRenderer = m_renderScrollbar.getPart(partType);
if (!partRenderer)
return;
paintIntoRect(partRenderer, graphicsContext, m_renderScrollbar.location(), rect);
}
-void ScrollbarPainter::paintIntoRect(RenderScrollbarPart* renderScrollbarPart, GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect)
+void ScrollbarPainter::paintIntoRect(LayoutScrollbarPart* renderScrollbarPart, GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect)
{
// Make sure our dimensions match the rect.
// FIXME: Setting these is a bad layering violation!
« no previous file with comments | « Source/core/paint/ScrollbarPainter.h ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698