Index: chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js |
diff --git a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js |
index df04f0f2f37d7c01148fb1ccaa6cf7dfc4a2e623..65d4aeae2ee6f91311ad280ceb4cffde96fdaac2 100644 |
--- a/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js |
+++ b/chrome/test/data/extensions/api_test/tabs/capture_visible_tab/test_race.js |
@@ -64,9 +64,9 @@ chrome.test.runTests([ |
{'format': 'png'}, |
function(imgDataUrl) { |
log('captured ' + windowId); |
- if (chrome.extension.lastError) { |
+ if (chrome.runtime.lastError) { |
chrome.test.fail('captureVisibleTab error: ' + |
- chrome.extension.lastError.message); |
+ chrome.runtime.lastError.message); |
} |
testPixelsAreExpectedColor( |
imgDataUrl, kWindowRect, expectedColor); |