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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.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/tracing/timeline-js/timeline-js-line-level-profile.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
index 0afc5f1e87e7c1a2065979c34b8757dd2777fd59..ef18a523b334d1c988e557eb309011e0c4d48c33 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html
@@ -52,7 +52,7 @@ function test()
]
};
- InspectorTest.addSniffer(WebInspector.SourcesTextEditor.prototype, "setGutterDecoration", decorationAdded, true);
+ InspectorTest.addSniffer(SourceFrame.SourcesTextEditor.prototype, "setGutterDecoration", decorationAdded, true);
InspectorTest.showScriptSource("timeline-data.js", frameRevealed);
function decorationAdded(line, type, element)
@@ -65,8 +65,8 @@ function test()
var url = frame.uiSourceCode().url();
InspectorTest.addResult(InspectorTest.formatters.formatAsURL(url));
cpuProfile.nodes.forEach(n => n.callFrame.url = url);
- var lineProfile = WebInspector.LineLevelProfile.instance();
- lineProfile.appendCPUProfile(new WebInspector.CPUProfileDataModel(cpuProfile));
+ var lineProfile = Components.LineLevelProfile.instance();
+ lineProfile.appendCPUProfile(new SDK.CPUProfileDataModel(cpuProfile));
setTimeout(() => InspectorTest.completeTest(), 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698