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

Unified Diff: Source/devtools/front_end/sources/AdvancedSearchView.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/sources/AdvancedSearchView.js
diff --git a/Source/devtools/front_end/sources/AdvancedSearchView.js b/Source/devtools/front_end/sources/AdvancedSearchView.js
index 194266dbfc00a84be0bd6189c0af8f3ff9783d2d..aa9da11cc69ebfe4b522d1ce01d72517cc1b4f02 100644
--- a/Source/devtools/front_end/sources/AdvancedSearchView.js
+++ b/Source/devtools/front_end/sources/AdvancedSearchView.js
@@ -325,7 +325,7 @@ WebInspector.AdvancedSearchView.prototype = {
WebInspector.SearchResultsPane = function(searchConfig)
{
this._searchConfig = searchConfig;
- this.element = document.createElement("div");
+ this.element = createElement("div");
}
WebInspector.SearchResultsPane.prototype = {

Powered by Google App Engine
This is Rietveld 408576698