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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index 326e67bb7cf07f028b3fdb312585a5c5e011fc8c..441e3b676719ba369b7345de6e950916fc399f77 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -973,7 +973,7 @@ SDK.targetManager.observeTargets({
InspectorTest.domModel = SDK.DOMModel.fromTarget(target);
InspectorTest.cssModel = target.model(SDK.CSSModel);
InspectorTest.powerProfiler = target.powerProfiler;
- InspectorTest.cpuProfilerModel = target.cpuProfilerModel;
+ InspectorTest.cpuProfilerModel = target.model(SDK.CPUProfilerModel);
InspectorTest.heapProfilerModel = target.heapProfilerModel;
InspectorTest.animationModel = target.animationModel;
InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-stopped-removed-race.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698