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

Unified Diff: chrome/renderer/resources/extensions/file_system_custom_bindings.js

Issue 12378077: Attempting to fix problems in 11571014. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 7 years, 10 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/renderer/resources/extensions/file_system_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/file_system_custom_bindings.js b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
index 058a42349b867fa5e5835b9ae134a3157427a97e..6a3443949f7d4007dcfa5589d4d67e5ea3ce67fd 100644
--- a/chrome/renderer/resources/extensions/file_system_custom_bindings.js
+++ b/chrome/renderer/resources/extensions/file_system_custom_bindings.js
@@ -47,12 +47,12 @@ binding.registerCustomHook(function(bindingsAPI) {
entryIdManager.registerEntry(id, fileEntry);
callback(fileEntry);
}, function(fileError) {
- lastError.set('Error getting fileEntry, code: ' + fileError.code);
- callback();
+ lastError.run('Error getting fileEntry, code: ' + fileError.code,
+ callback);
});
} catch (e) {
- lastError.set('Error in event handler for onLaunched: ' + e.stack);
- callback();
+ lastError.run('Error in event handler for onLaunched: ' + e.stack,
+ callback);
}
}
});
« no previous file with comments | « chrome/renderer/resources/extensions/bluetooth_custom_bindings.js ('k') | chrome/renderer/resources/extensions/last_error.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698