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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-save-load.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-save-load.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-save-load.html b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
index 7ca207b620a4ad371f2e917082fd2a36e26c0fa6..91907fde8fe64e8250fa163fad67ba2949d7c017 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
@@ -48,8 +48,8 @@ function test()
}
function saveProfileToFile(profile)
{
- WebInspector.FileOutputStream = function() { }
- WebInspector.FileOutputStream.prototype = {
+ Bindings.FileOutputStream = function() { }
+ Bindings.FileOutputStream.prototype = {
open: function(fileName, callback)
{
file.name = fileName;
@@ -102,16 +102,16 @@ function test()
}
next();
}
- var profilesPanel = WebInspector.panels.profiles;
+ var profilesPanel = UI.panels.profiles;
var profileName = file.name.substr(0, file.name.length - ".cpuprofile".length);
InspectorTest.waitUntilProfileViewIsShown(profileName, checkLoadedContent);
profilesPanel._loadFromFile(file);
- var onTransferFinished = WebInspector.CPUProfileHeader.prototype.onTransferFinished;
- WebInspector.CPUProfileHeader.prototype.onTransferFinished = function()
+ var onTransferFinished = Profiler.CPUProfileHeader.prototype.onTransferFinished;
+ Profiler.CPUProfileHeader.prototype.onTransferFinished = function()
{
loadedProfileData = this._jsonifiedProfile;
onTransferFinished.call(this);
- WebInspector.panels.profiles.showProfile(this);
+ UI.panels.profiles.showProfile(this);
}
}

Powered by Google App Engine
This is Rietveld 408576698