| Index: third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| diff --git a/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp b/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| index c6ae7b43b48fa2ca5c2f5c69659ef5a8f1eaf8fa..985a576fc2f4c8507fe9e99d7b9c304267533fce 100644
|
| --- a/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| +++ b/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| @@ -8,8 +8,6 @@
|
| #include "core/dom/DOMURL.h"
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/fileapi/Blob.h"
|
| -#include "core/frame/Deprecation.h"
|
| -#include "core/frame/UseCounter.h"
|
| #include "core/html/PublicURLManager.h"
|
|
|
| namespace blink {
|
| @@ -20,9 +18,6 @@ String URLFileAPI::createObjectURL(ExecutionContext* executionContext, Blob* blo
|
| DCHECK(blob);
|
| DCHECK(executionContext);
|
|
|
| - if (executionContext->isServiceWorkerGlobalScope())
|
| - Deprecation::countDeprecation(executionContext, UseCounter::URLMethodCreateObjectURLServiceWorker);
|
| -
|
| if (blob->isClosed()) {
|
| exceptionState.throwDOMException(InvalidStateError, String(blob->isFile() ? "File" : "Blob") + " has been closed.");
|
| return String();
|
| @@ -35,9 +30,6 @@ void URLFileAPI::revokeObjectURL(ExecutionContext* executionContext, const Strin
|
| {
|
| DCHECK(executionContext);
|
|
|
| - if (executionContext->isServiceWorkerGlobalScope())
|
| - Deprecation::countDeprecation(executionContext, UseCounter::URLMethodRevokeObjectURLServiceWorker);
|
| -
|
| KURL url(KURL(), urlString);
|
| executionContext->removeURLFromMemoryCache(url);
|
| executionContext->publicURLManager().revoke(url);
|
|
|