Index: chrome/test/data/extensions/context_menus/incognito/test.js |
diff --git a/chrome/test/data/extensions/context_menus/incognito/test.js b/chrome/test/data/extensions/context_menus/incognito/test.js |
index c64b01a36adb066af595813c26981945f84d9274..499577452fc6a08ad94c85ea6314bfbaa9904c9e 100644 |
--- a/chrome/test/data/extensions/context_menus/incognito/test.js |
+++ b/chrome/test/data/extensions/context_menus/incognito/test.js |
@@ -12,7 +12,7 @@ function onclick(info) { |
window.onload = function() { |
chrome.contextMenus.create({title: "item " + incognitoStr, |
onclick: onclick}, function() { |
- if (!chrome.extension.lastError) { |
+ if (!chrome.runtime.lastError) { |
chrome.test.sendMessage("created item " + incognitoStr); |
} |
}); |