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

Unified Diff: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h

Issue 2171843002: Use array<uint8> rather than string to pass BroadcastChannel messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/modules/broadcastchannel/BroadcastChannel.h
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
index 8a54cced1e801ea75dad5878e02300bf4ea77e7b..a66dc4cd81919267b0c16b5463d2ebd2066a3866 100644
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h
@@ -50,7 +50,7 @@ private:
BroadcastChannel(ExecutionContext*, const String& name);
// mojom::blink::BroadcastChannelClient:
- void OnMessage(const String& message) override;
+ void OnMessage(mojo::WTFArray<uint8_t> message) override;
// Called when the mojo binding disconnects.
void onError();

Powered by Google App Engine
This is Rietveld 408576698