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

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

Issue 2817663002: Rewrite references to "wtf/" to "platform/wtf/" in core/paint. (Closed)
Patch Set: Created 3 years, 8 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/SVGShapePainter.h" 5 #include "core/paint/SVGShapePainter.h"
6 6
7 #include "core/layout/svg/LayoutSVGResourceMarker.h" 7 #include "core/layout/svg/LayoutSVGResourceMarker.h"
8 #include "core/layout/svg/LayoutSVGShape.h" 8 #include "core/layout/svg/LayoutSVGShape.h"
9 #include "core/layout/svg/SVGLayoutSupport.h" 9 #include "core/layout/svg/SVGLayoutSupport.h"
10 #include "core/layout/svg/SVGMarkerData.h" 10 #include "core/layout/svg/SVGMarkerData.h"
11 #include "core/layout/svg/SVGResources.h" 11 #include "core/layout/svg/SVGResources.h"
12 #include "core/layout/svg/SVGResourcesCache.h" 12 #include "core/layout/svg/SVGResourcesCache.h"
13 #include "core/paint/LayoutObjectDrawingRecorder.h" 13 #include "core/paint/LayoutObjectDrawingRecorder.h"
14 #include "core/paint/ObjectPainter.h" 14 #include "core/paint/ObjectPainter.h"
15 #include "core/paint/PaintInfo.h" 15 #include "core/paint/PaintInfo.h"
16 #include "core/paint/SVGContainerPainter.h" 16 #include "core/paint/SVGContainerPainter.h"
17 #include "core/paint/SVGPaintContext.h" 17 #include "core/paint/SVGPaintContext.h"
18 #include "platform/graphics/GraphicsContextStateSaver.h" 18 #include "platform/graphics/GraphicsContextStateSaver.h"
19 #include "platform/graphics/paint/PaintRecord.h" 19 #include "platform/graphics/paint/PaintRecord.h"
20 #include "platform/graphics/paint/PaintRecordBuilder.h" 20 #include "platform/graphics/paint/PaintRecordBuilder.h"
21 #include "wtf/Optional.h" 21 #include "platform/wtf/Optional.h"
22 22
23 namespace blink { 23 namespace blink {
24 24
25 static bool SetupNonScalingStrokeContext( 25 static bool SetupNonScalingStrokeContext(
26 AffineTransform& stroke_transform, 26 AffineTransform& stroke_transform,
27 GraphicsContextStateSaver& state_saver) { 27 GraphicsContextStateSaver& state_saver) {
28 if (!stroke_transform.IsInvertible()) 28 if (!stroke_transform.IsInvertible())
29 return false; 29 return false;
30 30
31 state_saver.Save(); 31 state_saver.Save();
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 PaintInfo marker_paint_info(builder.Context(), paint_info); 250 PaintInfo marker_paint_info(builder.Context(), paint_info);
251 marker_paint_info.cull_rect_.rect_ = bounds; 251 marker_paint_info.cull_rect_.rect_ = bounds;
252 252
253 SVGContainerPainter(marker).Paint(marker_paint_info); 253 SVGContainerPainter(marker).Paint(marker_paint_info);
254 builder.EndRecording(*canvas); 254 builder.EndRecording(*canvas);
255 255
256 canvas->restore(); 256 canvas->restore();
257 } 257 }
258 258
259 } // namespace blink 259 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGShapePainter.h ('k') | third_party/WebKit/Source/core/paint/SVGTextPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698