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

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

Issue 2392443007: reflow comments in modules/[app_banner,encoding] (Closed)
Patch Set: Created 4 years, 2 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.cpp
diff --git a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
index 74bfa5a01104e46175a092ce10bb3a46fe781965..e282b74c62b8dc504e65f610ad7becc2994cd472 100644
--- a/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
+++ b/third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp
@@ -40,7 +40,8 @@ BroadcastChannel* BroadcastChannel::create(ExecutionContext* executionContext,
const String& name,
ExceptionState& exceptionState) {
if (executionContext->getSecurityOrigin()->isUnique()) {
- // TODO(mek): Decide what to do here depending on https://github.com/whatwg/html/issues/1319
+ // TODO(mek): Decide what to do here depending on
+ // https://github.com/whatwg/html/issues/1319
exceptionState.throwDOMException(
NotSupportedError, "Can't create BroadcastChannel in an opaque origin");
return nullptr;
@@ -124,13 +125,15 @@ BroadcastChannel::BroadcastChannel(ExecutionContext* executionContext,
mojom::blink::BroadcastChannelProviderPtr& provider =
getThreadSpecificProvider();
- // Local BroadcastChannelClient for messages send from the browser to this channel.
+ // Local BroadcastChannelClient for messages send from the browser to this
+ // channel.
mojom::blink::BroadcastChannelClientAssociatedPtrInfo localClientInfo;
m_binding.Bind(&localClientInfo, provider.associated_group());
m_binding.set_connection_error_handler(convertToBaseCallback(
WTF::bind(&BroadcastChannel::onError, wrapWeakPersistent(this))));
- // Remote BroadcastChannelClient for messages send from this channel to the browser.
+ // Remote BroadcastChannelClient for messages send from this channel to the
+ // browser.
mojom::blink::BroadcastChannelClientAssociatedPtrInfo remoteClientInfo;
mojo::AssociatedInterfaceRequest<mojom::blink::BroadcastChannelClient>
remoteCientRequest;

Powered by Google App Engine
This is Rietveld 408576698