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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

Issue 2702243003: Disallow cross-thread Persistent<> read access. (Closed)
Patch Set: rebase fixup Created 3 years, 10 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/WorkerGlobalScope.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
index bab2fc4815d509f156b58ca72675b11eef71571c..d2dad8583f2d075f4f767441bb21877da9f0ae45 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
@@ -148,7 +148,8 @@ class CORE_EXPORT WorkerGlobalScope
WorkerOrWorkletScriptController* scriptController() final {
return m_scriptController.get();
}
- WorkerClients* clients() { return m_workerClients.get(); }
+
+ WorkerClients* clients() const { return m_workerClients.get(); }
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698