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

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

Issue 2810743003: Move ScriptState::GetExecutionContext (Part 3) (Closed)
Patch Set: Rebase Created 3 years, 8 months 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 af12a83755d9322f68a2a352ce6383c526ea6b1d..77eeb6d2c191485aba51c4f35a3b5d336cc66a15 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScopedPersistent.h"
#include "core/CoreExport.h"
+#include "core/dom/ExecutionContext.h"
#include "core/dom/IntersectionObserverCallback.h"
namespace blink {
@@ -26,7 +27,7 @@ class V8IntersectionObserverCallback final
IntersectionObserver&) override;
ExecutionContext* GetExecutionContext() const override {
- return script_state_->GetExecutionContext();
+ return ExecutionContext::From(script_state_.Get());
}
private:

Powered by Google App Engine
This is Rietveld 408576698