| Index: chrome/common/extensions/docs/examples/api/storage/stylizr/popup.js
|
| diff --git a/chrome/common/extensions/docs/examples/api/storage/stylizr/popup.js b/chrome/common/extensions/docs/examples/api/storage/stylizr/popup.js
|
| index c19b5c180d786e83018333741947b870021696ea..fe6b58dbedb00ca3f9a2dfbfd495385c731c49d4 100644
|
| --- a/chrome/common/extensions/docs/examples/api/storage/stylizr/popup.js
|
| +++ b/chrome/common/extensions/docs/examples/api/storage/stylizr/popup.js
|
| @@ -15,7 +15,7 @@ storage.get('css', function(items) {
|
| // If there is CSS specified, inject it into the page.
|
| if (items.css) {
|
| chrome.tabs.insertCSS(null, {code: items.css}, function() {
|
| - if (chrome.extension.lastError) {
|
| + if (chrome.runtime.lastError) {
|
| message.innerText = 'Not allowed to inject CSS into special page.';
|
| } else {
|
| message.innerText = 'Injected style!';
|
|
|