| Index: third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp b/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
|
| index f6e5ef4614c75f3f30a00c4aeb713e70c2932701..ff0a346bf3d61f3addacb572d679cb32f81af533 100644
|
| --- a/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/DOMURL.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "modules/mediastream/MediaStream.h"
|
|
|
| @@ -42,7 +43,7 @@
|
| // Since WebWorkers cannot obtain Stream objects, we should be on the main
|
| // thread.
|
| DCHECK(IsMainThread());
|
| - ExecutionContext* execution_context = script_state->GetExecutionContext();
|
| + ExecutionContext* execution_context = ExecutionContext::From(script_state);
|
| DCHECK(execution_context);
|
| DCHECK(stream);
|
|
|
|
|