| 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())
|
|
|