Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1507)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h

Issue 2559653002: Remove ContextLifecycleObserver from ActiveDOMCallback (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
index cad05b28f3719bba8275ac63b2c50e983ae8c3d3..4641bb36d73adfd809d3636fdba322ff055beefe 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
@@ -28,8 +28,9 @@ class V8IntersectionObserverCallback final
void handleEvent(const HeapVector<Member<IntersectionObserverEntry>>&,
IntersectionObserver&) override;
+
ExecutionContext* getExecutionContext() const override {
- return ContextLifecycleObserver::getExecutionContext();
+ return m_scriptState->getExecutionContext();
}
private:

Powered by Google App Engine
This is Rietveld 408576698