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

Unified Diff: Source/devtools/front_end/network/RequestTimingView.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/network/RequestTimingView.js
diff --git a/Source/devtools/front_end/network/RequestTimingView.js b/Source/devtools/front_end/network/RequestTimingView.js
index 12769d95f5244673e0fc7d4a23aaacfaa8c0bc00..4ecb501d8698088f3d930af0c544c1e0a44e5a76 100644
--- a/Source/devtools/front_end/network/RequestTimingView.js
+++ b/Source/devtools/front_end/network/RequestTimingView.js
@@ -89,7 +89,7 @@ WebInspector.RequestTimingView.prototype = {
*/
WebInspector.RequestTimingView.createTimingTable = function(request)
{
- var tableElement = document.createElementWithClass("table", "network-timing-table");
+ var tableElement = createElementWithClass("table", "network-timing-table");
tableElement.createChild("colgroup").createChild("col", "labels");
/**
« no previous file with comments | « Source/devtools/front_end/network/RequestHeadersView.js ('k') | Source/devtools/front_end/profiler/CPUProfileDataGrid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698