Index: third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js |
index ce6f2629ce136181d4eb43c0225c81cd71de9208..6b98450edc9ed48b5f63772eac16ff6118f0e98f 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/resources/DatabaseTableView.js |
@@ -38,7 +38,7 @@ |
this._visibleColumnsSetting = Common.settings.createSetting('databaseTableViewVisibleColumns', {}); |
this.refreshButton = new UI.ToolbarButton(Common.UIString('Refresh'), 'largeicon-refresh'); |
- this.refreshButton.addEventListener(UI.ToolbarButton.Events.Click, this._refreshButtonClicked, this); |
+ this.refreshButton.addEventListener('click', this._refreshButtonClicked, this); |
this._visibleColumnsInput = new UI.ToolbarInput(Common.UIString('Visible columns'), 1); |
this._visibleColumnsInput.addEventListener(UI.ToolbarInput.Event.TextChanged, this._onVisibleColumnsChanged, this); |
} |
@@ -134,9 +134,6 @@ |
this.element.appendChild(errorMsgElement); |
} |
- /** |
- * @param {!Common.Event} event |
- */ |
_refreshButtonClicked(event) { |
this.update(); |
} |