Index: chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js |
diff --git a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js |
index 89aeca66d527b03db1eed440fee6902c1fb22a82..d86c9f5f2fcd4376a87991943440c830de9ea8c6 100644 |
--- a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js |
+++ b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js |
@@ -9,9 +9,9 @@ |
document.addEventListener('DOMContentLoaded', function() { |
chrome.contentSettings.plugins.getResourceIdentifiers(function(r) { |
- if (chrome.extension.lastError) { |
+ if (chrome.runtime.lastError) { |
$('error').textContent = |
- 'Error: ' + chrome.extension.lastError.message; |
+ 'Error: ' + chrome.runtime.lastError.message; |
return; |
} |
var pluginList = $('plugin-list'); |