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

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

Issue 662793002: [DevTools] Replace usages of document with custom functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 7fb79d84ed7533eaa61a6f13625258693e6f3168..72a37bbff84278a66c4c83d38bb5e50d4b19d37e 100644
--- a/Source/devtools/front_end/resources/DatabaseTableView.js
+++ b/Source/devtools/front_end/resources/DatabaseTableView.js
@@ -86,7 +86,7 @@ WebInspector.DatabaseTableView.prototype = {
this.detachChildViews();
this.element.removeChildren();
- var errorMsgElement = document.createElement("div");
+ var errorMsgElement = createElement("div");
errorMsgElement.className = "storage-table-error";
errorMsgElement.textContent = WebInspector.UIString("An error occurred trying to\nread the ā€œ%sā€ table.", this.tableName);
this.element.appendChild(errorMsgElement);
« no previous file with comments | « Source/devtools/front_end/resources/DatabaseQueryView.js ('k') | Source/devtools/front_end/resources/IndexedDBViews.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698