Bug 1273941 - remove last use of sdk/core/promise from devtools; r=jryans
authorTom Tromey <tom@tromey.com>
Thu, 09 Jun 2016 09:16:46 -0600
changeset 302464 ed1226de3214d31b2a66927a71d02a343a902c62
parent 302463 6a0db3b0afcf0f7b41195d2cc725c0e472356323
child 302465 87b183a92a938c2681627577b9bbc5181af472c8
push id19745
push usercbook@mozilla.com
push dateFri, 24 Jun 2016 07:04:33 +0000
treeherderfx-team@ed1226de3214 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1273941
milestone50.0a1
Bug 1273941 - remove last use of sdk/core/promise from devtools; r=jryans MozReview-Commit-ID: 23EFkNlv6dN
devtools/client/dom/dom-panel.js
--- a/devtools/client/dom/dom-panel.js
+++ b/devtools/client/dom/dom-panel.js
@@ -1,17 +1,17 @@
 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
 /* vim: set ft=javascript ts=2 et sw=2 tw=80: */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 "use strict";
 
 const { Cu } = require("chrome");
-const { defer } = require("sdk/core/promise");
+const defer = require("devtools/shared/defer");
 const { ObjectClient } = require("devtools/shared/client/main");
 
 const promise = require("promise");
 const EventEmitter = require("devtools/shared/event-emitter");
 const { Task } = require("devtools/shared/task");
 
 /**
  * This object represents DOM panel. It's responsibility is to