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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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/LayerPainter.cpp ('k') | Source/core/paint/ObjectPainter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/ListMarkerPainter.cpp
diff --git a/Source/core/paint/ListMarkerPainter.cpp b/Source/core/paint/ListMarkerPainter.cpp
index 751530a4a6a534b7a3debcaaaa2671d186b1b3a2..23180b4dd52d6ccd06e5273b09c1af2e7d9f0da3 100644
--- a/Source/core/paint/ListMarkerPainter.cpp
+++ b/Source/core/paint/ListMarkerPainter.cpp
@@ -49,7 +49,7 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai
if (m_renderListMarker.isImage()) {
context->drawImage(m_renderListMarker.image()->image(&m_renderListMarker, marker.size()).get(), marker);
- if (m_renderListMarker.selectionState() != RenderObject::SelectionNone) {
+ if (m_renderListMarker.selectionState() != LayoutObject::SelectionNone) {
LayoutRect selRect = m_renderListMarker.localSelectionRect();
selRect.moveBy(boxOrigin);
context->fillRect(pixelSnappedIntRect(selRect), m_renderListMarker.selectionBackgroundColor());
@@ -57,7 +57,7 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai
return;
}
- if (m_renderListMarker.selectionState() != RenderObject::SelectionNone) {
+ if (m_renderListMarker.selectionState() != LayoutObject::SelectionNone) {
LayoutRect selRect = m_renderListMarker.localSelectionRect();
selRect.moveBy(boxOrigin);
context->fillRect(pixelSnappedIntRect(selRect), m_renderListMarker.selectionBackgroundColor());
« no previous file with comments | « Source/core/paint/LayerPainter.cpp ('k') | Source/core/paint/ObjectPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698