Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/timeline.js

Issue 5636077285015552: Issue 656 - Replace some __proto__ with Object.create (Closed)
Patch Set: Created June 23, 2014, 8:46 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/sync.js ('k') | lib/utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/timeline.js
===================================================================
--- a/lib/timeline.js
+++ b/lib/timeline.js
@@ -18,17 +18,17 @@
/**
* @fileOverview Debugging module used for load time measurements.
*/
let nestingCounter = 0;
let firstTimeStamp = null;
let lastTimeStamp = null;
-let asyncActions = {__proto__: null};
+let asyncActions = Object.create(null);
/**
* Time logging module, used to measure startup time of Adblock Plus (development builds only).
* @class
*/
let TimeLine = exports.TimeLine = {
/**
* Logs an event to console together with the time it took to get there.
« no previous file with comments | « lib/sync.js ('k') | lib/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld