Chromium Code Reviews| Index: Source/devtools/front_end/sdk/Target.js |
| diff --git a/Source/devtools/front_end/sdk/Target.js b/Source/devtools/front_end/sdk/Target.js |
| index 1b781d8b96d2741d82400d76817216d0601dbd35..86a19b18a2e07cf5c6e123a1602129f0a2500326 100644 |
| --- a/Source/devtools/front_end/sdk/Target.js |
| +++ b/Source/devtools/front_end/sdk/Target.js |
| @@ -32,9 +32,6 @@ WebInspector.Target = function(name, connection, callback) |
| this.workerAgent().canInspectWorkers(this._initializeCapability.bind(this, WebInspector.Target.Capabilities.CanInspectWorkers, this._loadedWithCapabilities.bind(this, callback))); |
| if (WebInspector.experimentsSettings.timelineOnTraceEvents.isEnabled()) |
| this.consoleAgent().setTracingBasedTimeline(true); |
| - |
| - /** @type {!WebInspector.Lock} */ |
| - this.profilingLock = new WebInspector.Lock(); |
| } |
| /** |
| @@ -433,3 +430,6 @@ WebInspector.TargetManager.Observer.prototype = { |
| * @type {!WebInspector.TargetManager} |
| */ |
| WebInspector.targetManager = new WebInspector.TargetManager(); |
| + |
| +/** @type {!WebInspector.Lock} */ |
| +WebInspector.profilingLock = new WebInspector.Lock(); |
|
sergeyv
2014/08/14 15:43:10
In my opinion it is not appropriate place to decla
yurys
2014/08/14 15:54:10
Yeah, I was thinking about it too. Done.
|