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

Side by Side Diff: third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/RoundedInnerRectClipper.h" 5 #include "core/paint/RoundedInnerRectClipper.h"
6 6
7 #include "core/layout/LayoutBox.h" 7 #include "core/layout/LayoutObject.h"
8 #include "core/paint/PaintInfo.h" 8 #include "core/paint/PaintInfo.h"
9 #include "platform/graphics/paint/ClipDisplayItem.h" 9 #include "platform/graphics/paint/ClipDisplayItem.h"
10 #include "platform/graphics/paint/PaintController.h" 10 #include "platform/graphics/paint/PaintController.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 RoundedInnerRectClipper::RoundedInnerRectClipper(const LayoutObject& layoutObjec t, const PaintInfo& paintInfo, const LayoutRect& rect, const FloatRoundedRect& c lipRect, RoundedInnerRectClipperBehavior behavior) 14 RoundedInnerRectClipper::RoundedInnerRectClipper(const LayoutObject& layoutObjec t, const PaintInfo& paintInfo, const LayoutRect& rect, const FloatRoundedRect& c lipRect, RoundedInnerRectClipperBehavior behavior)
15 : m_layoutObject(layoutObject) 15 : m_layoutObject(layoutObject)
16 , m_paintInfo(paintInfo) 16 , m_paintInfo(paintInfo)
17 , m_usePaintController(behavior == ApplyToDisplayList) 17 , m_usePaintController(behavior == ApplyToDisplayList)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 DisplayItem::Type endType = DisplayItem::clipTypeToEndClipType(m_clipType); 60 DisplayItem::Type endType = DisplayItem::clipTypeToEndClipType(m_clipType);
61 if (m_usePaintController) { 61 if (m_usePaintController) {
62 m_paintInfo.context.getPaintController().endItem<EndClipDisplayItem>(m_l ayoutObject, endType); 62 m_paintInfo.context.getPaintController().endItem<EndClipDisplayItem>(m_l ayoutObject, endType);
63 } else { 63 } else {
64 EndClipDisplayItem endClipDisplayItem(m_layoutObject, endType); 64 EndClipDisplayItem endClipDisplayItem(m_layoutObject, endType);
65 endClipDisplayItem.replay(m_paintInfo.context); 65 endClipDisplayItem.replay(m_paintInfo.context);
66 } 66 }
67 } 67 }
68 68
69 } // namespace blink 69 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PartPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698