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: Source/platform/graphics/filters/SourceGraphic.cpp

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/graphics/filters/SourceGraphic.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 10 matching lines...) Expand all
21 #include "config.h" 21 #include "config.h"
22 22
23 #include "platform/graphics/filters/SourceGraphic.h" 23 #include "platform/graphics/filters/SourceGraphic.h"
24 24
25 #include "platform/graphics/filters/Filter.h" 25 #include "platform/graphics/filters/Filter.h"
26 #include "platform/text/TextStream.h" 26 #include "platform/text/TextStream.h"
27 #include "third_party/skia/include/effects/SkPictureImageFilter.h" 27 #include "third_party/skia/include/effects/SkPictureImageFilter.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 PassRefPtr<SourceGraphic> SourceGraphic::create(Filter* filter) 31 PassRefPtrWillBeRawPtr<SourceGraphic> SourceGraphic::create(Filter* filter)
32 { 32 {
33 return adoptRef(new SourceGraphic(filter)); 33 return adoptRefWillBeNoop(new SourceGraphic(filter));
34 } 34 }
35 35
36 const AtomicString& SourceGraphic::effectName() 36 const AtomicString& SourceGraphic::effectName()
37 { 37 {
38 DEFINE_STATIC_LOCAL(const AtomicString, s_effectName, ("SourceGraphic", Atom icString::ConstructFromLiteral)); 38 DEFINE_STATIC_LOCAL(const AtomicString, s_effectName, ("SourceGraphic", Atom icString::ConstructFromLiteral));
39 return s_effectName; 39 return s_effectName;
40 } 40 }
41 41
42 FloatRect SourceGraphic::determineAbsolutePaintRect(const FloatRect& requestedRe ct) 42 FloatRect SourceGraphic::determineAbsolutePaintRect(const FloatRect& requestedRe ct)
43 { 43 {
(...skipping 17 matching lines...) Expand all
61 } 61 }
62 62
63 TextStream& SourceGraphic::externalRepresentation(TextStream& ts, int indent) co nst 63 TextStream& SourceGraphic::externalRepresentation(TextStream& ts, int indent) co nst
64 { 64 {
65 writeIndent(ts, indent); 65 writeIndent(ts, indent);
66 ts << "[SourceGraphic]\n"; 66 ts << "[SourceGraphic]\n";
67 return ts; 67 return ts;
68 } 68 }
69 69
70 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/filters/SourceGraphic.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698