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

Side by Side Diff: Source/core/platform/graphics/Path.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 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 /* 1 /*
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
3 * 2006 Rob Buis <buis@kde.org> 3 * 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2013 Google Inc. All rights reserved. 5 * Copyright (C) 2013 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 15 matching lines...) Expand all
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/platform/graphics/Path.h" 30 #include "core/platform/graphics/Path.h"
31 31
32 #include <math.h> 32 #include <math.h>
33 #include "core/platform/graphics/FloatPoint.h" 33 #include "core/platform/graphics/FloatPoint.h"
34 #include "core/platform/graphics/FloatRect.h" 34 #include "core/platform/graphics/FloatRect.h"
35 #include "core/platform/graphics/GraphicsContext.h" 35 #include "core/platform/graphics/GraphicsContext.h"
36 #include "core/platform/graphics/ImageBuffer.h"
37 #include "core/platform/graphics/PathTraversalState.h"
38 #include "core/platform/graphics/StrokeStyleApplier.h" 36 #include "core/platform/graphics/StrokeStyleApplier.h"
39 #include "core/platform/graphics/skia/SkiaUtils.h" 37 #include "core/platform/graphics/skia/SkiaUtils.h"
40 #include "core/platform/graphics/transforms/AffineTransform.h" 38 #include "core/platform/graphics/transforms/AffineTransform.h"
41 #include "third_party/skia/include/core/SkPath.h" 39 #include "third_party/skia/include/core/SkPath.h"
42 #include "third_party/skia/include/core/SkPathMeasure.h" 40 #include "third_party/skia/include/core/SkPathMeasure.h"
43 #include <wtf/MathExtras.h> 41 #include <wtf/MathExtras.h>
44 42
45 namespace WebCore { 43 namespace WebCore {
46 44
47 Path::Path() 45 Path::Path()
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 419
422 closeSubpath(); 420 closeSubpath();
423 } 421 }
424 422
425 void Path::translate(const FloatSize& size) 423 void Path::translate(const FloatSize& size)
426 { 424 {
427 m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(s ize.height())); 425 m_path.offset(WebCoreFloatToSkScalar(size.width()), WebCoreFloatToSkScalar(s ize.height()));
428 } 426 }
429 427
430 } 428 }
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/MediaPlayer.cpp ('k') | Source/core/platform/graphics/SimpleFontData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698