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

Unified Diff: third_party/WebKit/Source/web/SuspendableScriptExecutor.h

Issue 2753013003: Bindings: Remove DOMWrapperWorld::fromWorldId() for cleanup (Closed)
Patch Set: rebase Created 3 years, 9 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/web/SuspendableScriptExecutor.h
diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.h b/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
index 095926525cc0144701d6d65cd79c86ab72c6bc5e..92654c2822fdc34cd18a87b2df742d7ec2c7c8a4 100644
--- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
+++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.h
@@ -5,10 +5,12 @@
#ifndef SuspendableScriptExecutor_h
#define SuspendableScriptExecutor_h
+#include "bindings/core/v8/DOMWrapperWorld.h"
#include "core/frame/SuspendableTimer.h"
#include "platform/heap/Handle.h"
#include "platform/heap/SelfKeepAlive.h"
#include "v8/include/v8.h"
+#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
namespace blink {
@@ -28,7 +30,7 @@ class SuspendableScriptExecutor final
static SuspendableScriptExecutor* create(
LocalFrame*,
- int worldID,
+ RefPtr<DOMWrapperWorld>,
const HeapVector<ScriptSourceCode>& sources,
bool userGesture,
WebScriptExecutionCallback*);

Powered by Google App Engine
This is Rietveld 408576698