| 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 1e58a3f034eb9c9adc29c37f775e288e10a438cc..271a2db3886c10b766d826b3aae66949ca990a5a 100644
|
| --- a/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| +++ b/third_party/WebKit/Source/core/fileapi/URLFileAPI.cpp
|
| @@ -19,7 +19,7 @@ String URLFileAPI::createObjectURL(ScriptState* script_state,
|
| Blob* blob,
|
| ExceptionState& exception_state) {
|
| DCHECK(blob);
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| DCHECK(execution_context);
|
|
|
| if (blob->isClosed()) {
|
| @@ -38,7 +38,7 @@ String URLFileAPI::createObjectURL(ScriptState* script_state,
|
| // static
|
| void URLFileAPI::revokeObjectURL(ScriptState* script_state,
|
| const String& url_string) {
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| DCHECK(execution_context);
|
|
|
| KURL url(KURL(), url_string);
|
|
|