Index: chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js |
diff --git a/chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js b/chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js |
index fb14127ab8e81d345c7e7630023149715825f9ef..3d6b0324d1d3d8312d569693670686a9cda0f66b 100644 |
--- a/chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js |
+++ b/chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js |
@@ -28,8 +28,8 @@ function actionClicked(tab) { |
} |
function onAttach(debuggeeId) { |
- if (chrome.extension.lastError) { |
- alert(chrome.extension.lastError.message); |
+ if (chrome.runtime.lastError) { |
+ alert(chrome.runtime.lastError.message); |
return; |
} |