Index: extensions/renderer/resources/uncaught_exception_handler.js |
diff --git a/extensions/renderer/resources/uncaught_exception_handler.js b/extensions/renderer/resources/uncaught_exception_handler.js |
index f87efbc995c50ad7a8ceafcbdbcf081c2a193a93..de4d71e71dc3978092281c50ee92e17d39cd9fdf 100644 |
--- a/extensions/renderer/resources/uncaught_exception_handler.js |
+++ b/extensions/renderer/resources/uncaught_exception_handler.js |
@@ -95,16 +95,16 @@ function safeErrorToString(e, omitType) { |
* @param {string=} priorStackTrace - Error message suffix. |
* @see formatErrorMessage |
*/ |
-exports.handle = function(message, e, priorStackTrace) { |
+exports.$set('handle', function(message, e, priorStackTrace) { |
message = formatErrorMessage(message, e, priorStackTrace); |
handler(message, e); |
-}; |
+}); |
// |newHandler| A function which matches |handler|. |
-exports.setHandler = function(newHandler) { |
+exports.$set('setHandler', function(newHandler) { |
handler = newHandler; |
-}; |
+}); |
-exports.getStackTrace = getStackTrace; |
-exports.getExtensionStackTrace = getExtensionStackTrace; |
-exports.safeErrorToString = safeErrorToString; |
+exports.$set('getStackTrace', getStackTrace); |
+exports.$set('getExtensionStackTrace', getExtensionStackTrace); |
+exports.$set('safeErrorToString', safeErrorToString); |