summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
diff options
context:
space:
mode:
authortkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-06-10 03:46:28 +0000
committertkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2014-06-10 03:46:28 +0000
commitd5298521c4cfd06eb44c75e07553423e764f9ed3 (patch)
tree565c29e4d51d3c33239f6887ac407effbe1a6c77 /third_party/WebKit/Source/core/svg/SVGFEImageElement.h
parent540810f797a47b5250377ea60dffaed06c173633 (diff)
downloadchromium_src-d5298521c4cfd06eb44c75e07553423e764f9ed3.zip
chromium_src-d5298521c4cfd06eb44c75e07553423e764f9ed3.tar.gz
chromium_src-d5298521c4cfd06eb44c75e07553423e764f9ed3.tar.bz2
Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument.
We're going to change element factories at least twice. 1. Replace adoptRefWillBeRefCountedGarbageCollected with adoptRefWillBeNoop 2-1. Replace PassRefPtrWillBeRawPtr<T> with T* and remove adoptRefWillBeNoop if we switch to Oilpan successfully. 2-2. Replace PassRefPtrWillBeRawPtr<T> with PassRefPtr<T>, and adoptRefWillBeNoop with adoptRef if we decide not to switch to Oilpan. This CL makes these changes easier. Also, this CL split existing DEFINE_NODE_FACTORY into DECLARE_NODE_FACTORY and DEFINE_NODE_FACTORY to avoid inline definition in headers. http://www.chromium.org/developers/coding-style/cpp-dos-and-donts#TOC-Stop-inlining-code-in-headers BUG=357163 Review URL: https://codereview.chromium.org/327633004 git-svn-id: svn://svn.chromium.org/blink/trunk@175851 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/Source/core/svg/SVGFEImageElement.h')
-rw-r--r--third_party/WebKit/Source/core/svg/SVGFEImageElement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
index 4eb8596..ec9d4f1 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGFEImageElement.h
@@ -37,7 +37,7 @@ class SVGFEImageElement FINAL : public SVGFilterPrimitiveStandardAttributes,
public SVGURIReference,
public ImageResourceClient {
public:
- DEFINE_NODE_FACTORY(SVGFEImageElement);
+ DECLARE_NODE_FACTORY(SVGFEImageElement);
bool currentFrameHasSingleSecurityOrigin() const;