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

Side by Side Diff: Source/core/paint/ListItemPainter.cpp

Issue 931423003: Rename rendering/RenderList* to layout/LayoutList* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove spurious LayoutLayerModelObject reference 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 unified diff | Download patch
« no previous file with comments | « Source/core/paint/ListItemPainter.h ('k') | Source/core/paint/ListMarkerPainter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/paint/ListItemPainter.h" 6 #include "core/paint/ListItemPainter.h"
7 7
8 #include "core/layout/LayoutListItem.h"
8 #include "core/layout/PaintInfo.h" 9 #include "core/layout/PaintInfo.h"
9 #include "core/paint/BlockPainter.h" 10 #include "core/paint/BlockPainter.h"
10 #include "core/rendering/RenderListItem.h"
11 #include "platform/geometry/LayoutPoint.h" 11 #include "platform/geometry/LayoutPoint.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 void ListItemPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint Offset) 15 void ListItemPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint Offset)
16 { 16 {
17 if (!m_renderListItem.logicalHeight() && m_renderListItem.hasOverflowClip()) 17 if (!m_layoutListItem.logicalHeight() && m_layoutListItem.hasOverflowClip())
18 return; 18 return;
19 19
20 BlockPainter(m_renderListItem).paint(paintInfo, paintOffset); 20 BlockPainter(m_layoutListItem).paint(paintInfo, paintOffset);
21 } 21 }
22 22
23 } // namespace blink 23 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/paint/ListItemPainter.h ('k') | Source/core/paint/ListMarkerPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698