Index: chrome/test/data/extensions/context_menus/simple/test.js |
diff --git a/chrome/test/data/extensions/context_menus/simple/test.js b/chrome/test/data/extensions/context_menus/simple/test.js |
index 67494aa7a1297ff4cb33d2471f2ded4c2721c258..75011dd17e5af8a89ddf3ce0e5126f090c915cd7 100644 |
--- a/chrome/test/data/extensions/context_menus/simple/test.js |
+++ b/chrome/test/data/extensions/context_menus/simple/test.js |
@@ -9,7 +9,7 @@ function onclick(info) { |
window.onload = function() { |
chrome.contextMenus.create({"title":"Extension Item 1", |
"onclick": onclick}, function() { |
- if (!chrome.extension.lastError) { |
+ if (!chrome.runtime.lastError) { |
chrome.test.sendMessage("created item"); |
} |
}); |