| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 | 28 |
| 29 #include "DOMURL.h" | 29 #include "DOMURL.h" |
| 30 | 30 |
| 31 #include "ActiveDOMObject.h" | 31 #include "ActiveDOMObject.h" |
| 32 #include "Blob.h" | 32 #include "Blob.h" |
| 33 #include "BlobURL.h" | 33 #include "BlobURL.h" |
| 34 #include "MediaSource.h" | 34 #include "MediaSource.h" |
| 35 #include "MediaSourceRegistry.h" | 35 #include "MediaSourceRegistry.h" |
| 36 #include "MemoryCache.h" | |
| 37 #include "PublicURLManager.h" | 36 #include "PublicURLManager.h" |
| 38 #include "ScriptExecutionContext.h" | 37 #include "ScriptExecutionContext.h" |
| 39 #include "SecurityOrigin.h" | 38 #include "SecurityOrigin.h" |
| 40 #include "ThreadableBlobRegistry.h" | 39 #include "ThreadableBlobRegistry.h" |
| 40 #include "core/loader/cache/MemoryCache.h" |
| 41 #include "core/platform/KURL.h" | 41 #include "core/platform/KURL.h" |
| 42 #include "core/platform/network/ResourceRequest.h" | 42 #include "core/platform/network/ResourceRequest.h" |
| 43 #include <wtf/MainThread.h> | 43 #include <wtf/MainThread.h> |
| 44 #include <wtf/PassOwnPtr.h> | 44 #include <wtf/PassOwnPtr.h> |
| 45 | 45 |
| 46 #if ENABLE(MEDIA_STREAM) | 46 #if ENABLE(MEDIA_STREAM) |
| 47 #include "MediaStream.h" | 47 #include "MediaStream.h" |
| 48 #include "MediaStreamRegistry.h" | 48 #include "MediaStreamRegistry.h" |
| 49 #endif | 49 #endif |
| 50 | 50 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // FIXME: make sure of this assertion below. Raise a spec question if re
quired. | 128 // FIXME: make sure of this assertion below. Raise a spec question if re
quired. |
| 129 // Since WebWorkers cannot obtain Stream objects, we should be on the ma
in thread. | 129 // Since WebWorkers cannot obtain Stream objects, we should be on the ma
in thread. |
| 130 ASSERT(isMainThread()); | 130 ASSERT(isMainThread()); |
| 131 MediaStreamRegistry::registry().unregisterMediaStreamURL(url); | 131 MediaStreamRegistry::registry().unregisterMediaStreamURL(url); |
| 132 streamURLs.remove(url.string()); | 132 streamURLs.remove(url.string()); |
| 133 } | 133 } |
| 134 #endif | 134 #endif |
| 135 } | 135 } |
| 136 | 136 |
| 137 } // namespace WebCore | 137 } // namespace WebCore |
| OLD | NEW |