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

Unified Diff: Source/devtools/front_end/resources/DatabaseTableView.js

Issue 411263003: DevTools: Extract SortableDataGrid. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months 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: Source/devtools/front_end/resources/DatabaseTableView.js
diff --git a/Source/devtools/front_end/resources/DatabaseTableView.js b/Source/devtools/front_end/resources/DatabaseTableView.js
index cb2f77c50cb9344028c3efebb0b6a7d2c768b8e1..7fb79d84ed7533eaa61a6f13625258693e6f3168 100644
--- a/Source/devtools/front_end/resources/DatabaseTableView.js
+++ b/Source/devtools/front_end/resources/DatabaseTableView.js
@@ -71,7 +71,7 @@ WebInspector.DatabaseTableView.prototype = {
this.detachChildViews();
this.element.removeChildren();
- var dataGrid = WebInspector.DataGrid.createSortableDataGrid(columnNames, values);
+ var dataGrid = WebInspector.SortableDataGrid.create(columnNames, values);
if (!dataGrid) {
this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("The ā€œ%sā€\ntable is empty.", this.tableName));
this._emptyView.show(this.element);
« no previous file with comments | « Source/devtools/front_end/resources/DatabaseQueryView.js ('k') | Source/devtools/front_end/resources/DirectoryContentView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698