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

Side by Side Diff: Source/WebCore/html/shadow/HTMLContentElement.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 PassRefPtr<HTMLContentElement> HTMLContentElement::create(const QualifiedName& t agName, Document* document) 61 PassRefPtr<HTMLContentElement> HTMLContentElement::create(const QualifiedName& t agName, Document* document)
62 { 62 {
63 return adoptRef(new HTMLContentElement(tagName, document)); 63 return adoptRef(new HTMLContentElement(tagName, document));
64 } 64 }
65 65
66 HTMLContentElement::HTMLContentElement(const QualifiedName& name, Document* docu ment) 66 HTMLContentElement::HTMLContentElement(const QualifiedName& name, Document* docu ment)
67 : InsertionPoint(name, document) 67 : InsertionPoint(name, document)
68 , m_shouldParseSelectorList(false) 68 , m_shouldParseSelectorList(false)
69 , m_isValidSelector(true) 69 , m_isValidSelector(true)
70 { 70 {
71 if (RuntimeEnabledFeatures::shadowDOMEnabled())
72 ScriptWrappable::init(this);
71 } 73 }
72 74
73 HTMLContentElement::~HTMLContentElement() 75 HTMLContentElement::~HTMLContentElement()
74 { 76 {
75 } 77 }
76 78
77 InsertionPoint::MatchType HTMLContentElement::matchTypeFor(Node*) 79 InsertionPoint::MatchType HTMLContentElement::matchTypeFor(Node*)
78 { 80 {
79 if (select().isNull() || select().isEmpty()) 81 if (select().isNull() || select().isEmpty())
80 return AlwaysMatches; 82 return AlwaysMatches;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 213 }
212 214
213 HTMLContentElement::HTMLContentElement(const QualifiedName& tagName, Document* d ocument) 215 HTMLContentElement::HTMLContentElement(const QualifiedName& tagName, Document* d ocument)
214 : InsertionPoint(tagName, document) 216 : InsertionPoint(tagName, document)
215 { } 217 { }
216 218
217 #endif // if ENABLE(SHADOW_DOM) 219 #endif // if ENABLE(SHADOW_DOM)
218 220
219 } 221 }
220 222
OLDNEW
« no previous file with comments | « Source/WebCore/html/canvas/WebGLRenderingContext.cpp ('k') | Source/WebCore/html/shadow/HTMLShadowElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698