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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (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 /* 1 /*
2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
4 * Copyright 2014 The Chromium Authors. All rights reserved. 4 * Copyright 2014 The Chromium Authors. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 16 matching lines...) Expand all
27 #include "core/layout/svg/SVGResources.h" 27 #include "core/layout/svg/SVGResources.h"
28 #include "core/layout/svg/SVGResourcesCache.h" 28 #include "core/layout/svg/SVGResourcesCache.h"
29 #include "core/paint/SVGPaintContext.h" 29 #include "core/paint/SVGPaintContext.h"
30 #include "core/paint/TransformRecorder.h" 30 #include "core/paint/TransformRecorder.h"
31 #include "core/svg/SVGFitToViewBox.h" 31 #include "core/svg/SVGFitToViewBox.h"
32 #include "core/svg/SVGPatternElement.h" 32 #include "core/svg/SVGPatternElement.h"
33 #include "platform/graphics/GraphicsContext.h" 33 #include "platform/graphics/GraphicsContext.h"
34 #include "platform/graphics/paint/PaintController.h" 34 #include "platform/graphics/paint/PaintController.h"
35 #include "platform/graphics/paint/PaintRecord.h" 35 #include "platform/graphics/paint/PaintRecord.h"
36 #include "platform/graphics/paint/PaintRecordBuilder.h" 36 #include "platform/graphics/paint/PaintRecordBuilder.h"
37 #include "wtf/PtrUtil.h" 37 #include "platform/wtf/PtrUtil.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 struct PatternData { 41 struct PatternData {
42 USING_FAST_MALLOC(PatternData); 42 USING_FAST_MALLOC(PatternData);
43 43
44 public: 44 public:
45 RefPtr<Pattern> pattern; 45 RefPtr<Pattern> pattern;
46 AffineTransform transform; 46 AffineTransform transform;
47 }; 47 };
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 PaintRecorder paint_recorder; 220 PaintRecorder paint_recorder;
221 PaintCanvas* canvas = paint_recorder.beginRecording(bounds); 221 PaintCanvas* canvas = paint_recorder.beginRecording(bounds);
222 canvas->save(); 222 canvas->save();
223 canvas->concat(AffineTransformToSkMatrix(tile_transform)); 223 canvas->concat(AffineTransformToSkMatrix(tile_transform));
224 builder.EndRecording(*canvas); 224 builder.EndRecording(*canvas);
225 canvas->restore(); 225 canvas->restore();
226 return paint_recorder.finishRecordingAsPicture(); 226 return paint_recorder.finishRecordingAsPicture();
227 } 227 }
228 228
229 } // namespace blink 229 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698