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

Unified Diff: content/worker/websharedworker_stub.cc

Issue 268623009: Introduce enablePreciseMemoryInfo switch and apply it to both renderer and shared worker (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: for landing Created 6 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/worker/websharedworker_stub.cc
diff --git a/content/worker/websharedworker_stub.cc b/content/worker/websharedworker_stub.cc
index a0474690c2ad93a35236a65d205c11215edc2a59..b33e707971a13d14df977f9bd12e0169b4039b1f 100644
--- a/content/worker/websharedworker_stub.cc
+++ b/content/worker/websharedworker_stub.cc
@@ -16,7 +16,6 @@
#include "content/worker/worker_thread.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURL.h"
-#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
#include "third_party/WebKit/public/web/WebSharedWorker.h"
namespace content {
@@ -46,9 +45,6 @@ WebSharedWorkerStub::WebSharedWorkerStub(
// is attached or explicit resume notification is received.
impl_->pauseWorkerContextOnStart();
}
- blink::WebRuntimeFeatures::enablePreciseMemoryInfo(
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableSharedWorkerMemoryInfo));
worker_devtools_agent_.reset(new SharedWorkerDevToolsAgent(route_id, impl_));
client()->set_devtools_agent(worker_devtools_agent_.get());
« no previous file with comments | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698