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

Unified Diff: Source/web/WebEmbeddedWorkerImpl.cpp

Issue 106353005: Expose performance.memory in workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Perf-Memory-SharedWorker
Patch Set: Introduce WorkerSettings Created 6 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: Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp
index dc692bc3cf5f36dbcdbd0432c74ab99b79fbce80..3fa22c72268a3efecf23aeddbc193549b5cc3ea2 100644
--- a/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -245,7 +245,8 @@ void WebEmbeddedWorkerImpl::onScriptLoaderFinished()
// FIXME: fill appropriate CSP info and policy type.
String(),
ContentSecurityPolicy::Enforce,
- workerClients.release());
+ workerClients.release(),
+ WorkerSettings::create());
m_mainScriptLoader.clear();

Powered by Google App Engine
This is Rietveld 408576698