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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: 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/Source/devtools/front_end/profiler/ProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
index 6c0f189a27795feb8e4839a4d8365baec1eaf0d6..e045c7f4115c0b3f167b3f03f9248ec73e3731af 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
@@ -97,12 +97,15 @@ WebInspector.ProfileView.prototype = {
this._flameChart.update();
},
+ /**
+ * @override
+ */
focus: function()
{
if (this._flameChart)
this._flameChart.focus();
else
- WebInspector.Widget.prototype.focus.call(this);
+ WebInspector.SimpleView.prototype.focus.call(this);
},
/**
@@ -507,6 +510,9 @@ WebInspector.WritableProfileHeader.prototype = {
return !this.fromFile() && this._protocolProfile;
},
+ /**
+ * @override
+ */
saveToFile: function()
{
var fileOutputStream = new WebInspector.FileOutputStream();

Powered by Google App Engine
This is Rietveld 408576698