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

Unified Diff: extensions/renderer/module_system_test.cc

Issue 1167423002: Use V8 Maybe APIs in extensions/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « extensions/renderer/module_system.cc ('k') | extensions/renderer/module_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/module_system_test.cc
diff --git a/extensions/renderer/module_system_test.cc b/extensions/renderer/module_system_test.cc
index 04de2b1a45ec5219b7ef52207365aa31b4b64750..1672548feaf513201318f03e27de80471ecac17c 100644
--- a/extensions/renderer/module_system_test.cc
+++ b/extensions/renderer/module_system_test.cc
@@ -27,8 +27,10 @@ namespace {
class FailsOnException : public ModuleSystem::ExceptionHandler {
public:
+ FailsOnException() : ModuleSystem::ExceptionHandler(NULL) {}
void HandleUncaughtException(const v8::TryCatch& try_catch) override {
- FAIL() << "Uncaught exception: " << CreateExceptionString(try_catch);
+ FAIL() << "Uncaught exception: "
+ << CreateExceptionString(try_catch);
}
};
« no previous file with comments | « extensions/renderer/module_system.cc ('k') | extensions/renderer/module_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698