Index: chrome/common/extensions/docs/examples/extensions/plugin_settings/js/chrome_stubs.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/chrome_stubs.js b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/chrome_stubs.js |
index 38b75143095dd4ad18691c01330076b065e8fa9b..51058d68e0e3f644dcdacdcbe11f767a5de9e1f0 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/chrome_stubs.js |
+++ b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/chrome_stubs.js |
@@ -18,11 +18,11 @@ chrome.contentSettings.plugins = { |
var pattern = details.primaryPattern; |
var setting = details.setting; |
if (pattern == '__invalid_pattern') { |
- chrome.extension.lastError = {'message': 'Invalid pattern'}; |
+ chrome.runtime.lastError = {'message': 'Invalid pattern'}; |
} else if (setting == '__invalid_setting') { |
throw Error('Invalid setting'); |
} else { |
- chrome.extension.lastError = undefined; |
+ chrome.runtime.lastError = undefined; |
_rules[pattern] = setting; |
} |
callback(); |