Index: chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js b/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js |
index 52e25240b73564a261748cd5f6d8d6aca92f6a6b..493ac25dfb44cbb3c7b52d8abdbe2e49912ce3fa 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js |
+++ b/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr.js |
@@ -32,13 +32,13 @@ const cr = (function() { |
* Whether this uses GTK or not. |
* @type {boolean} |
*/ |
- const isGTK = /GTK/.test(chrome.toolkit); |
+ const isGTK = /GTK/.test(chrome.getVariableValue('toolkit')); |
/** |
* Whether this uses the views toolkit or not. |
* @type {boolean} |
*/ |
- const isViews = /views/.test(chrome.toolkit); |
+ const isViews = /views/.test(chrome.getVariableValue('toolkit')); |
/** |
* Sets the os and toolkit attributes in the <html> element so that platform |