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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.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/network/NetworkDataGridNode.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
index 480642e617c712e33db13a1969b77b2421d4246e..55607877f9d03944829baeb70fb233e942457ff6 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js
@@ -172,6 +172,9 @@ WebInspector.NetworkDataGridNode.prototype = {
this._initiatorCell.insertBefore(this._linkifiedInitiatorAnchor, this._initiatorCell.firstChild);
},
+ /**
+ * @override
+ */
wasDetached: function()
{
if (this._linkifiedInitiatorAnchor)
@@ -184,9 +187,13 @@ WebInspector.NetworkDataGridNode.prototype = {
this._parentView.linkifier.disposeAnchor(this._request.target(), this._linkifiedInitiatorAnchor);
},
- select: function()
+ /**
+ * @override
+ * @param {boolean=} supressSelectedEvent
+ */
+ select: function(supressSelectedEvent)
{
- WebInspector.SortableDataGridNode.prototype.select.apply(this, arguments);
+ WebInspector.SortableDataGridNode.prototype.select.call(this, supressSelectedEvent);
this._parentView.dispatchEventToListeners(WebInspector.NetworkLogView.Events.RequestSelected, this._request);
},

Powered by Google App Engine
This is Rietveld 408576698