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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushManager.cpp

Issue 2392543004: Reflow comments in the Push and Notification modules. (Closed)
Patch Set: Reflow comments in the Push and Notification modules. 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/push_messaging/PushManager.cpp
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp b/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
index f633043da8e0814ebf0c6bc0e6a0d5362b27df69..6af41a09008ab913a59a094630c046f4e829a3ac 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
+++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
@@ -59,9 +59,9 @@ ScriptPromise PushManager::subscribe(ScriptState* scriptState,
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState);
ScriptPromise promise = resolver->promise();
- // The document context is the only reasonable context from which to ask the user for permission
- // to use the Push API. The embedder should persist the permission so that later calls in
- // different contexts can succeed.
+ // The document context is the only reasonable context from which to ask the
+ // user for permission to use the Push API. The embedder should persist the
+ // permission so that later calls in different contexts can succeed.
if (scriptState->getExecutionContext()->isDocument()) {
Document* document = toDocument(scriptState->getExecutionContext());
if (!document->domWindow() || !document->frame())

Powered by Google App Engine
This is Rietveld 408576698