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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html

Issue 2721663005: [DevTools] Access cpu profiler only when JS capability is present. (Closed)
Patch Set: rebased 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/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html
index ee5935c1d64c352f7dd193789501d910634ab278..a7cf45c9ba03508c2d2032115ac673d7dcb06ea1 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html
@@ -9,7 +9,7 @@ function test()
InspectorTest.runProfilerTestSuite([
function testProfiling(next)
{
- var cpuProfiler = SDK.targetManager.mainTarget().cpuProfilerModel;
+ var cpuProfiler = InspectorTest.cpuProfilerModel;
var targetManager = SDK.targetManager;
targetManager.addEventListener(SDK.TargetManager.Events.SuspendStateChanged, onSuspendStateChanged);
var profilesPanel = UI.panels.js_profiler;

Powered by Google App Engine
This is Rietveld 408576698