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

Unified Diff: webkit/glue/devtools/js/tests.js

Issue 355012: DevTools: prepare for WebKit change 50460. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/js/tests.js
diff --git a/webkit/glue/devtools/js/tests.js b/webkit/glue/devtools/js/tests.js
index 53bee6900be2a2b09aea15f0a817fee4dd3c88f0..4a50c554a4c4bb497cec2cb7f41c85b20033d9d7 100644
--- a/webkit/glue/devtools/js/tests.js
+++ b/webkit/glue/devtools/js/tests.js
@@ -371,6 +371,10 @@ TestSuite.prototype.testProfilerTab = function() {
var test = this;
this.addSniffer(WebInspector, 'addProfileHeader',
function(type, profile) {
+ if (!profile) {
+ profile = type;
+ type = profile.typeId;
+ }
var panel = WebInspector.panels.profiles;
panel.showProfile(profile);
var node = panel.visibleView.profileDataGridTree.children[0];
« no previous file with comments | « webkit/glue/devtools/js/inspector_controller_impl.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698