Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
index 2f3ed9fc2b99442aec45b92025575b18201427fa..3c36a25f4e660e60b29686c6d93fccaac5dae42e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp |
@@ -770,18 +770,6 @@ ExecutionContext* currentExecutionContext(v8::Isolate* isolate) { |
return toExecutionContext(isolate->GetCurrentContext()); |
} |
-ExecutionContext* enteredExecutionContext(v8::Isolate* isolate) { |
- ExecutionContext* context = toExecutionContext(isolate->GetEnteredContext()); |
- if (!context) { |
- // We don't always have an entered execution context, for example during |
- // microtask callbacks from V8 (where the entered context may be the |
- // DOM-in-JS context). In that case, we fall back to the current context. |
- context = currentExecutionContext(isolate); |
- ASSERT(context); |
- } |
- return context; |
-} |
- |
Frame* toFrameIfNotDetached(v8::Local<v8::Context> context) { |
DOMWindow* window = toDOMWindow(context); |
if (window && window->isCurrentlyDisplayedInFrame()) |