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

Side by Side Diff: Source/modules/encryptedmedia/MediaKeyMessageEvent.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 16 matching lines...) Expand all
27 #include "modules/encryptedmedia/MediaKeyMessageEvent.h" 27 #include "modules/encryptedmedia/MediaKeyMessageEvent.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 MediaKeyMessageEventInit::MediaKeyMessageEventInit() 31 MediaKeyMessageEventInit::MediaKeyMessageEventInit()
32 { 32 {
33 } 33 }
34 34
35 MediaKeyMessageEvent::MediaKeyMessageEvent() 35 MediaKeyMessageEvent::MediaKeyMessageEvent()
36 { 36 {
37 ScriptWrappable::init(this);
38 } 37 }
39 38
40 MediaKeyMessageEvent::MediaKeyMessageEvent(const AtomicString& type, const Media KeyMessageEventInit& initializer) 39 MediaKeyMessageEvent::MediaKeyMessageEvent(const AtomicString& type, const Media KeyMessageEventInit& initializer)
41 : Event(type, initializer) 40 : Event(type, initializer)
42 , m_message(initializer.message) 41 , m_message(initializer.message)
43 , m_destinationURL(initializer.destinationURL) 42 , m_destinationURL(initializer.destinationURL)
44 { 43 {
45 ScriptWrappable::init(this);
46 } 44 }
47 45
48 MediaKeyMessageEvent::~MediaKeyMessageEvent() 46 MediaKeyMessageEvent::~MediaKeyMessageEvent()
49 { 47 {
50 } 48 }
51 49
52 const AtomicString& MediaKeyMessageEvent::interfaceName() const 50 const AtomicString& MediaKeyMessageEvent::interfaceName() const
53 { 51 {
54 return EventNames::MediaKeyMessageEvent; 52 return EventNames::MediaKeyMessageEvent;
55 } 53 }
56 54
57 void MediaKeyMessageEvent::trace(Visitor* visitor) 55 void MediaKeyMessageEvent::trace(Visitor* visitor)
58 { 56 {
59 Event::trace(visitor); 57 Event::trace(visitor);
60 } 58 }
61 59
62 } // namespace blink 60 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/encoding/TextEncoder.cpp ('k') | Source/modules/encryptedmedia/MediaKeyNeededEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698