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

Unified Diff: extensions/browser/api/hid/hid_api.cc

Issue 2656013005: Better crash stacktraces for ExtensionFunction bad messages. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | extensions/browser/extension_function.h » ('j') | extensions/browser/extension_function.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/hid/hid_api.cc
diff --git a/extensions/browser/api/hid/hid_api.cc b/extensions/browser/api/hid/hid_api.cc
index 48e0ac8dd4de797e2d91ecaa475aa09bb2b805c9..cbddbdec21f414324a8e11a44ce7fec80900653f 100644
--- a/extensions/browser/api/hid/hid_api.cc
+++ b/extensions/browser/api/hid/hid_api.cc
@@ -35,7 +35,7 @@
#define EXTENSION_FUNCTION_VALIDATE_RETURN_FALSE_ON_ERROR(test) \
do { \
if (!(test)) { \
- this->set_bad_message(true); \
+ this->SetBadMessage(); \
return false; \
} \
} while (0)
« no previous file with comments | « no previous file | extensions/browser/extension_function.h » ('j') | extensions/browser/extension_function.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698