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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeyNeededEvent.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 18 matching lines...) Expand all
29 #include "wtf/Uint8Array.h" 29 #include "wtf/Uint8Array.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 MediaKeyNeededEventInit::MediaKeyNeededEventInit() 33 MediaKeyNeededEventInit::MediaKeyNeededEventInit()
34 { 34 {
35 } 35 }
36 36
37 MediaKeyNeededEvent::MediaKeyNeededEvent() 37 MediaKeyNeededEvent::MediaKeyNeededEvent()
38 { 38 {
39 ScriptWrappable::init(this);
40 } 39 }
41 40
42 MediaKeyNeededEvent::MediaKeyNeededEvent(const AtomicString& type, const MediaKe yNeededEventInit& initializer) 41 MediaKeyNeededEvent::MediaKeyNeededEvent(const AtomicString& type, const MediaKe yNeededEventInit& initializer)
43 : Event(type, initializer) 42 : Event(type, initializer)
44 , m_contentType(initializer.contentType) 43 , m_contentType(initializer.contentType)
45 , m_initData(initializer.initData) 44 , m_initData(initializer.initData)
46 { 45 {
47 ScriptWrappable::init(this);
48 } 46 }
49 47
50 MediaKeyNeededEvent::~MediaKeyNeededEvent() 48 MediaKeyNeededEvent::~MediaKeyNeededEvent()
51 { 49 {
52 } 50 }
53 51
54 const AtomicString& MediaKeyNeededEvent::interfaceName() const 52 const AtomicString& MediaKeyNeededEvent::interfaceName() const
55 { 53 {
56 return EventNames::MediaKeyNeededEvent; 54 return EventNames::MediaKeyNeededEvent;
57 } 55 }
58 56
59 void MediaKeyNeededEvent::trace(Visitor* visitor) 57 void MediaKeyNeededEvent::trace(Visitor* visitor)
60 { 58 {
61 Event::trace(visitor); 59 Event::trace(visitor);
62 } 60 }
63 61
64 } // namespace blink 62 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698