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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 6c53be76998e6a3b1dc93fda37fac954fe25154b..90321f1e7dc317abbd3a60210589d731d491ab7c 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,10 +9,10 @@ function test()
InspectorTest.runProfilerTestSuite([
function testProfiling(next)
{
- var cpuProfiler = WebInspector.targetManager.mainTarget().cpuProfilerModel;
- var targetManager = WebInspector.targetManager;
- targetManager.addEventListener(WebInspector.TargetManager.Events.SuspendStateChanged, onSuspendStateChanged);
- var profilesPanel = WebInspector.panels.profiles;
+ var cpuProfiler = SDK.targetManager.mainTarget().cpuProfilerModel;
+ var targetManager = SDK.targetManager;
+ targetManager.addEventListener(SDK.TargetManager.Events.SuspendStateChanged, onSuspendStateChanged);
+ var profilesPanel = UI.panels.profiles;
InspectorTest.addSniffer(cpuProfiler, "stopRecording", stopRecording);
InspectorTest.addSniffer(profilesPanel, "_addProfileHeader", onAddProfileHeader);
profilesPanel.toggleRecord(); // Start profiling.
@@ -25,7 +25,7 @@ function test()
function onSuspendStateChanged()
{
- if (WebInspector.targetManager.allTargetsSuspended()) {
+ if (SDK.targetManager.allTargetsSuspended()) {
InspectorTest.addResult("Suspending targets");
return;
}

Powered by Google App Engine
This is Rietveld 408576698