Bug 1311541 - use resource:// urls for devtools css in addon-sdk;r=jryans draft
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 23 Nov 2016 10:22:00 +0100
changeset 446660 abaf15fc6213490bb67bfa3190ea64d3e401257b
parent 446659 2636d658f36a32596dbfe546cac2c1c777c6649f
child 538835 8381c95527d13fcbbb9c159634c8408e30d4a4f9
push id37848
push userjdescottes@mozilla.com
push dateThu, 01 Dec 2016 18:42:52 +0000
reviewersjryans
bugs1311541
milestone53.0a1
Bug 1311541 - use resource:// urls for devtools css in addon-sdk;r=jryans MozReview-Commit-ID: K9YR4gnbBWW
addon-sdk/source/lib/dev/theme.js
--- a/addon-sdk/source/lib/dev/theme.js
+++ b/addon-sdk/source/lib/dev/theme.js
@@ -118,18 +118,18 @@ onDisable.define(Theme, (theme, {window,
     theme.onDisable(window, newTheme);
   }
 });
 
 // Support for built-in themes
 
 const LightTheme = Theme({
   name: "theme-light",
-  styles: "chrome://devtools/skin/light-theme.css",
+  styles: "resource://devtools/client/themes/light-theme.css",
 });
 
 const DarkTheme = Theme({
   name: "theme-dark",
-  styles: "chrome://devtools/skin/dark-theme.css",
+  styles: "resource://devtools/client/themes/dark-theme.css",
 });
 
 exports.LightTheme = LightTheme;
 exports.DarkTheme = DarkTheme;