OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 Apple 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 12 matching lines...) Expand all Loading... |
23 * THE POSSIBILITY OF SUCH DAMAGE. | 23 * THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "modules/encryptedmedia/MediaKeys.h" | 27 #include "modules/encryptedmedia/MediaKeys.h" |
28 | 28 |
29 #include "bindings/v8/ExceptionState.h" | 29 #include "bindings/v8/ExceptionState.h" |
30 #include "core/dom/ContextLifecycleObserver.h" | 30 #include "core/dom/ContextLifecycleObserver.h" |
31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
32 #include "core/dom/ExecutionContext.h" | 32 #include "core/dom/ExecutionContext.h" |
33 #include "core/events/ThreadLocalEventNames.h" | |
34 #include "core/html/HTMLMediaElement.h" | 33 #include "core/html/HTMLMediaElement.h" |
35 #include "modules/encryptedmedia/MediaKeyMessageEvent.h" | 34 #include "modules/encryptedmedia/MediaKeyMessageEvent.h" |
36 #include "modules/encryptedmedia/MediaKeysClient.h" | 35 #include "modules/encryptedmedia/MediaKeysClient.h" |
37 #include "modules/encryptedmedia/MediaKeysController.h" | 36 #include "modules/encryptedmedia/MediaKeysController.h" |
38 #include "platform/ContentType.h" | 37 #include "platform/ContentType.h" |
39 #include "platform/Logging.h" | 38 #include "platform/Logging.h" |
40 #include "platform/MIMETypeRegistry.h" | 39 #include "platform/MIMETypeRegistry.h" |
41 #include "platform/UUID.h" | 40 #include "platform/UUID.h" |
42 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
43 #include "public/platform/WebContentDecryptionModule.h" | 42 #include "public/platform/WebContentDecryptionModule.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 203 |
205 void MediaKeys::contextDestroyed() | 204 void MediaKeys::contextDestroyed() |
206 { | 205 { |
207 ContextLifecycleObserver::contextDestroyed(); | 206 ContextLifecycleObserver::contextDestroyed(); |
208 | 207 |
209 // We don't need the CDM anymore. | 208 // We don't need the CDM anymore. |
210 m_cdm.clear(); | 209 m_cdm.clear(); |
211 } | 210 } |
212 | 211 |
213 } | 212 } |
OLD | NEW |