Bug 1259777 - Remove unnecessary DOMUtils lazy load in css-angle.js . r=pbro draft
authorNicolas Chevobbe <chevobbe.nicolas@gmail.com>
Fri, 25 Mar 2016 17:34:51 +0100
changeset 344732 4f83ef05812d60320d891d1754d1253859a253f2
parent 344570 aadf5e15faf8ba88b48d16bb396f115816b8f673
child 517036 2850ca2f4a818c174d207473df4f203157dddcd8
push id13916
push userchevobbe.nicolas@gmail.com
push dateFri, 25 Mar 2016 16:36:28 +0000
reviewerspbro
bugs1259777
milestone48.0a1
Bug 1259777 - Remove unnecessary DOMUtils lazy load in css-angle.js . r=pbro MozReview-Commit-ID: 3byxrCy63Pv
devtools/shared/css-angle.js
--- a/devtools/shared/css-angle.js
+++ b/devtools/shared/css-angle.js
@@ -337,12 +337,8 @@ function classifyAngle(value) {
     return CssAngle.ANGLEUNIT.rad;
   }
   if (value.endsWith("turn")) {
     return CssAngle.ANGLEUNIT.turn;
   }
 
   return CssAngle.ANGLEUNIT.deg;
 }
-
-loader.lazyGetter(this, "DOMUtils", function() {
-  return Cc["@mozilla.org/inspector/dom-utils;1"].getService(Ci.inIDOMUtils);
-});