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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.h

Issue 2691333002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Created 3 years, 10 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/core/dom/MessagePort.h
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.h b/third_party/WebKit/Source/core/dom/MessagePort.h
index 43dfa0d9a9801cf3083afcf5605a2dc6cd01aec6..af79d4581ff95b107ffbaf69ad18b14fb3dc35bf 100644
--- a/third_party/WebKit/Source/core/dom/MessagePort.h
+++ b/third_party/WebKit/Source/core/dom/MessagePort.h
@@ -45,6 +45,7 @@ namespace blink {
class ExceptionState;
class ExecutionContext;
class MessagePort;
+class ScriptState;
class SerializedScriptValue;
// Not to be confused with WebMessagePortChannelArray; this one uses Vector and
@@ -62,7 +63,7 @@ class CORE_EXPORT MessagePort : public EventTargetWithInlineData,
static MessagePort* create(ExecutionContext&);
~MessagePort() override;
- void postMessage(ExecutionContext*,
+ void postMessage(ScriptState*,
PassRefPtr<SerializedScriptValue> message,
const MessagePortArray&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698