| Index: third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMURL.cpp b/third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| index 61c56bf014258baa4adedcd199bdca7ff9cd86ad..89fc742aa2ea35b1567f3ef04e9822a023fb7c32 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DOMURL.cpp
|
| @@ -64,7 +64,8 @@ void DOMURL::setInput(const String& value)
|
|
|
| String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState)
|
| {
|
| - if (!executionContext || !blob)
|
| + ASSERT(blob);
|
| + if (!executionContext)
|
| return String();
|
| if (blob->hasBeenClosed()) {
|
| exceptionState.throwDOMException(InvalidStateError, String(blob->isFile() ? "File" : "Blob") + " has been closed.");
|
|
|