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

Side by Side Diff: third_party/WebKit/Source/core/paint/SVGInlineFlowBoxPainter.cpp

Issue 2010823002: Remove assorted unnecessary includes in core/paint/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing includes. Created 4 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 unified diff | Download patch
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 "core/paint/SVGInlineFlowBoxPainter.h" 5 #include "core/paint/SVGInlineFlowBoxPainter.h"
6 6
7 #include "core/layout/LayoutInline.h"
8 #include "core/layout/api/LineLayoutAPIShim.h" 7 #include "core/layout/api/LineLayoutAPIShim.h"
9 #include "core/layout/svg/line/SVGInlineFlowBox.h" 8 #include "core/layout/svg/line/SVGInlineFlowBox.h"
10 #include "core/layout/svg/line/SVGInlineTextBox.h" 9 #include "core/layout/svg/line/SVGInlineTextBox.h"
11 #include "core/paint/ObjectPainter.h"
12 #include "core/paint/PaintInfo.h" 10 #include "core/paint/PaintInfo.h"
13 #include "core/paint/SVGInlineTextBoxPainter.h" 11 #include "core/paint/SVGInlineTextBoxPainter.h"
14 #include "core/paint/SVGPaintContext.h" 12 #include "core/paint/SVGPaintContext.h"
15 13
16 namespace blink { 14 namespace blink {
17 15
18 void SVGInlineFlowBoxPainter::paintSelectionBackground(const PaintInfo& paintInf o) 16 void SVGInlineFlowBoxPainter::paintSelectionBackground(const PaintInfo& paintInf o)
19 { 17 {
20 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPh aseSelection); 18 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPh aseSelection);
21 19
(...skipping 11 matching lines...) Expand all
33 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPh aseSelection); 31 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPh aseSelection);
34 32
35 SVGPaintContext paintContext(*LineLayoutAPIShim::constLayoutObjectFrom(m_svg InlineFlowBox.getLineLayoutItem()), paintInfo); 33 SVGPaintContext paintContext(*LineLayoutAPIShim::constLayoutObjectFrom(m_svg InlineFlowBox.getLineLayoutItem()), paintInfo);
36 if (paintContext.applyClipMaskAndFilterIfNecessary()) { 34 if (paintContext.applyClipMaskAndFilterIfNecessary()) {
37 for (InlineBox* child = m_svgInlineFlowBox.firstChild(); child; child = child->nextOnLine()) 35 for (InlineBox* child = m_svgInlineFlowBox.firstChild(); child; child = child->nextOnLine())
38 child->paint(paintContext.paintInfo(), paintOffset, LayoutUnit(), La youtUnit()); 36 child->paint(paintContext.paintInfo(), paintOffset, LayoutUnit(), La youtUnit());
39 } 37 }
40 } 38 }
41 39
42 } // namespace blink 40 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGImagePainter.cpp ('k') | third_party/WebKit/Source/core/paint/ScopeRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698