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

Unified Diff: Source/core/workers/WorkerLoaderProxy.h

Issue 956333002: Refactor TimeBase to post tasks. Workers to use real Idle tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some of Ross's suggestions Created 5 years, 8 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: Source/core/workers/WorkerLoaderProxy.h
diff --git a/Source/core/workers/WorkerLoaderProxy.h b/Source/core/workers/WorkerLoaderProxy.h
index f4b8c42bd4902d6e97dfd1618f711ad7a414ade4..b54d2e991981b4a380b824cb755a44c5d5b6d770 100644
--- a/Source/core/workers/WorkerLoaderProxy.h
+++ b/Source/core/workers/WorkerLoaderProxy.h
@@ -85,9 +85,11 @@ public:
// required to call detachProvider() when finalizing.
void detachProvider(WorkerLoaderProxyProvider*);
-private:
+protected:
+ // Protected for testing.
explicit WorkerLoaderProxy(WorkerLoaderProxyProvider*);
+private:
Mutex m_lock;
WorkerLoaderProxyProvider* m_loaderProxyProvider;
};

Powered by Google App Engine
This is Rietveld 408576698