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

Side by Side Diff: Source/core/html/HTMLLinkElement.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/html/HTMLLegendElement.cpp ('k') | Source/core/html/HTMLMapElement.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com) 6 * Copyright (C) 2009 Rob Buis (rwlbuis@gmail.com)
7 * Copyright (C) 2011 Google Inc. All rights reserved. 7 * Copyright (C) 2011 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 parseSizes(value.characters16(), value.length(), iconSizes); 133 parseSizes(value.characters16(), value.length(), iconSizes);
134 } 134 }
135 135
136 inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser ) 136 inline HTMLLinkElement::HTMLLinkElement(Document& document, bool createdByParser )
137 : HTMLElement(linkTag, document) 137 : HTMLElement(linkTag, document)
138 , m_linkLoader(this) 138 , m_linkLoader(this)
139 , m_sizes(DOMSettableTokenList::create()) 139 , m_sizes(DOMSettableTokenList::create())
140 , m_createdByParser(createdByParser) 140 , m_createdByParser(createdByParser)
141 , m_isInShadowTree(false) 141 , m_isInShadowTree(false)
142 { 142 {
143 ScriptWrappable::init(this);
144 } 143 }
145 144
146 PassRefPtrWillBeRawPtr<HTMLLinkElement> HTMLLinkElement::create(Document& docume nt, bool createdByParser) 145 PassRefPtrWillBeRawPtr<HTMLLinkElement> HTMLLinkElement::create(Document& docume nt, bool createdByParser)
147 { 146 {
148 return adoptRefWillBeNoop(new HTMLLinkElement(document, createdByParser)); 147 return adoptRefWillBeNoop(new HTMLLinkElement(document, createdByParser));
149 } 148 }
150 149
151 HTMLLinkElement::~HTMLLinkElement() 150 HTMLLinkElement::~HTMLLinkElement()
152 { 151 {
153 #if !ENABLE(OILPAN) 152 #if !ENABLE(OILPAN)
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 removePendingSheet(); 738 removePendingSheet();
740 } 739 }
741 740
742 void LinkStyle::trace(Visitor* visitor) 741 void LinkStyle::trace(Visitor* visitor)
743 { 742 {
744 visitor->trace(m_sheet); 743 visitor->trace(m_sheet);
745 LinkResource::trace(visitor); 744 LinkResource::trace(visitor);
746 } 745 }
747 746
748 } // namespace blink 747 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLegendElement.cpp ('k') | Source/core/html/HTMLMapElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698