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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorker.cpp

Issue 2387983002: Worker: Reflow comments in worker components (Closed)
Patch Set: manually tweak 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/core/workers/SharedWorker.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorker.cpp b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
index fe1406b209c48370843fbc84712bd8968715e7f1..0fe85bd1e548f0f96e91d3a35458d49a5936df64 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorker.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
@@ -69,7 +69,8 @@ SharedWorker* SharedWorker::create(ExecutionContext* context,
worker->suspendIfNeeded();
- // We don't currently support nested workers, so workers can only be created from documents.
+ // We don't currently support nested workers, so workers can only be created
+ // from documents.
Document* document = toDocument(context);
if (!document->getSecurityOrigin()->canAccessSharedWorkers()) {
exceptionState.throwSecurityError(

Powered by Google App Engine
This is Rietveld 408576698