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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerBase.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/InProcessWorkerBase.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
index a84d4e1f19afa906e73e5f6a442d82fbaf0f079c..e59b5646582251b6ef977389246909b7c88e08bf 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
@@ -49,7 +49,8 @@ bool InProcessWorkerBase::initialize(ExecutionContext* context,
ExceptionState& exceptionState) {
suspendIfNeeded();
- // TODO(mkwst): Revisit the context as https://drafts.css-houdini.org/worklets/ evolves.
+ // TODO(mkwst): Revisit the context as
+ // https://drafts.css-houdini.org/worklets/ evolves.
KURL scriptURL =
resolveURL(url, exceptionState, WebURLRequest::RequestContextScript);
if (scriptURL.isEmpty())
@@ -77,7 +78,8 @@ void InProcessWorkerBase::stop() {
}
bool InProcessWorkerBase::hasPendingActivity() const {
- // The worker context does not exist while loading, so we must ensure that the worker object is not collected, nor are its event listeners.
+ // The worker context does not exist while loading, so we must ensure that the
+ // worker object is not collected, nor are its event listeners.
return (m_contextProxy && m_contextProxy->hasPendingActivity()) ||
m_scriptLoader;
}
« no previous file with comments | « third_party/WebKit/Source/core/workers/InProcessWorkerBase.h ('k') | third_party/WebKit/Source/core/workers/SharedWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698