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

Side by Side Diff: Source/core/svg/SVGFontFaceUriElement.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGFontFaceSrcElement.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | 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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2009 Apple 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 19 matching lines...) Expand all
30 #include "core/fetch/ResourceFetcher.h" 30 #include "core/fetch/ResourceFetcher.h"
31 #include "core/svg/SVGFontFaceElement.h" 31 #include "core/svg/SVGFontFaceElement.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 using namespace SVGNames; 35 using namespace SVGNames;
36 36
37 inline SVGFontFaceUriElement::SVGFontFaceUriElement(Document& document) 37 inline SVGFontFaceUriElement::SVGFontFaceUriElement(Document& document)
38 : SVGElement(font_face_uriTag, document) 38 : SVGElement(font_face_uriTag, document)
39 { 39 {
40 ScriptWrappable::init(this);
41 } 40 }
42 41
43 DEFINE_NODE_FACTORY(SVGFontFaceUriElement) 42 DEFINE_NODE_FACTORY(SVGFontFaceUriElement)
44 43
45 SVGFontFaceUriElement::~SVGFontFaceUriElement() 44 SVGFontFaceUriElement::~SVGFontFaceUriElement()
46 { 45 {
47 if (m_resource) 46 if (m_resource)
48 m_resource->removeClient(this); 47 m_resource->removeClient(this);
49 } 48 }
50 49
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 m_resource->beginLoadIfNeeded(fetcher); 96 m_resource->beginLoadIfNeeded(fetcher);
98 } 97 }
99 } else { 98 } else {
100 m_resource = 0; 99 m_resource = 0;
101 } 100 }
102 } 101 }
103 102
104 } 103 }
105 104
106 #endif // ENABLE(SVG_FONTS) 105 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFontFaceSrcElement.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698