Index: third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
index d041a1e84dcd8277ac18c3919722d98abbcf53e4..848a968e07af5cba6565dabd6f940e2da821f284 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ConditionalFeaturesForCore.cpp |
@@ -33,7 +33,7 @@ void InstallConditionalFeaturesCore(const WrapperTypeInfo* wrapper_type_info, |
// TODO(iclelland): Generate all of this logic at compile-time, based on the |
// configuration of origin trial enabled attributes and interfaces in IDL |
// files. (crbug.com/615060) |
- ExecutionContext* execution_context = script_state->GetExecutionContext(); |
+ ExecutionContext* execution_context = ExecutionContext::From(script_state); |
if (!execution_context) |
return; |
v8::Isolate* isolate = script_state->GetIsolate(); |