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

Side by Side Diff: third_party/WebKit/Source/core/paint/SVGImagePainter.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/SVGImagePainter.h" 5 #include "core/paint/SVGImagePainter.h"
6 6
7 #include "core/layout/ImageQualityController.h" 7 #include "core/layout/ImageQualityController.h"
8 #include "core/layout/LayoutImageResource.h" 8 #include "core/layout/LayoutImageResource.h"
9 #include "core/layout/svg/LayoutSVGImage.h" 9 #include "core/layout/svg/LayoutSVGImage.h"
10 #include "core/layout/svg/SVGLayoutSupport.h"
11 #include "core/paint/LayoutObjectDrawingRecorder.h" 10 #include "core/paint/LayoutObjectDrawingRecorder.h"
12 #include "core/paint/ObjectPainter.h" 11 #include "core/paint/ObjectPainter.h"
13 #include "core/paint/PaintInfo.h" 12 #include "core/paint/PaintInfo.h"
14 #include "core/paint/SVGPaintContext.h" 13 #include "core/paint/SVGPaintContext.h"
15 #include "core/paint/TransformRecorder.h" 14 #include "core/paint/TransformRecorder.h"
16 #include "core/svg/SVGImageElement.h" 15 #include "core/svg/SVGImageElement.h"
17 #include "core/svg/graphics/SVGImage.h" 16 #include "core/svg/graphics/SVGImage.h"
18 #include "platform/graphics/GraphicsContext.h" 17 #include "platform/graphics/GraphicsContext.h"
19 #include "third_party/skia/include/core/SkPicture.h" 18 #include "third_party/skia/include/core/SkPicture.h"
20 19
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (cachedImage->errorOccurred()) 90 if (cachedImage->errorOccurred())
92 return FloatSize(); 91 return FloatSize();
93 92
94 if (cachedImage->getImage()->isSVGImage()) 93 if (cachedImage->getImage()->isSVGImage())
95 return toSVGImage(cachedImage->getImage())->concreteObjectSize(m_layoutS VGImage.objectBoundingBox().size()); 94 return toSVGImage(cachedImage->getImage())->concreteObjectSize(m_layoutS VGImage.objectBoundingBox().size());
96 95
97 return FloatSize(cachedImage->getImage()->size()); 96 return FloatSize(cachedImage->getImage()->size());
98 } 97 }
99 98
100 } // namespace blink 99 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698