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

Side by Side Diff: Source/WebCore/html/HTMLTrackElement.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
« no previous file with comments | « Source/WebCore/html/HTMLTitleElement.cpp ('k') | Source/WebCore/html/HTMLUListElement.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) 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 return url.string().substring(0, maximumURLLengthForLogging) + "..."; 52 return url.string().substring(0, maximumURLLengthForLogging) + "...";
53 } 53 }
54 #endif 54 #endif
55 55
56 inline HTMLTrackElement::HTMLTrackElement(const QualifiedName& tagName, Document * document) 56 inline HTMLTrackElement::HTMLTrackElement(const QualifiedName& tagName, Document * document)
57 : HTMLElement(tagName, document) 57 : HTMLElement(tagName, document)
58 , m_loadTimer(this, &HTMLTrackElement::loadTimerFired) 58 , m_loadTimer(this, &HTMLTrackElement::loadTimerFired)
59 { 59 {
60 LOG(Media, "HTMLTrackElement::HTMLTrackElement - %p", this); 60 LOG(Media, "HTMLTrackElement::HTMLTrackElement - %p", this);
61 ASSERT(hasTagName(trackTag)); 61 ASSERT(hasTagName(trackTag));
62 ScriptWrappable::init(this);
62 } 63 }
63 64
64 HTMLTrackElement::~HTMLTrackElement() 65 HTMLTrackElement::~HTMLTrackElement()
65 { 66 {
66 if (m_track) 67 if (m_track)
67 m_track->clearClient(); 68 m_track->clearClient();
68 } 69 }
69 70
70 PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagNa me, Document* document) 71 PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagNa me, Document* document)
71 { 72 {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 367
367 void HTMLTrackElement::setItemValueText(const String& value, ExceptionCode&) 368 void HTMLTrackElement::setItemValueText(const String& value, ExceptionCode&)
368 { 369 {
369 setAttribute(srcAttr, value); 370 setAttribute(srcAttr, value);
370 } 371 }
371 #endif 372 #endif
372 373
373 } 374 }
374 375
375 #endif 376 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLTitleElement.cpp ('k') | Source/WebCore/html/HTMLUListElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698