Index: chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js |
diff --git a/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js b/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js |
index ce703659b8d074664e32be9639649f39b52d36bf..4b3029c16026aaf13f273196d33f04b9a56c8c57 100644 |
--- a/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js |
+++ b/chrome/common/extensions/docs/examples/api/fontSettings/js/cr.js |
@@ -346,12 +346,12 @@ this.cr = (function() { |
/** |
* Whether this uses GTK or not. |
*/ |
- cr.isGTK = /GTK/.test(chrome.toolkit); |
+ cr.isGTK = /GTK/.test(chrome.getVariableValue('toolkit')); |
/** |
* Whether this uses the views toolkit or not. |
*/ |
- cr.isViews = /views/.test(chrome.toolkit); |
+ cr.isViews = /views/.test(chrome.getVariableValue('toolkit')); |
} |
return { |