Index: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
index c64e7cda9e840f013fa02b52c16c300822a56ed8..87e31d768b5fd17ba8f4482799c2da2e548a4afe 100644 |
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp |
@@ -108,7 +108,7 @@ void BroadcastChannel::OnMessage(const WTF::Vector<uint8_t>& message) { |
// Queue a task to dispatch the event. |
RefPtr<SerializedScriptValue> value = SerializedScriptValue::create( |
message.isEmpty() ? nullptr |
- : reinterpret_cast<const char*>(&message.first()), |
+ : reinterpret_cast<const char*>(&message.front()), |
message.size()); |
MessageEvent* event = MessageEvent::create( |
nullptr, value.release(), |