Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4559)

Unified Diff: chrome/common/extensions/docs/examples/api/debugger/pause-resume/background.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698