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

Unified Diff: test/cctest/test-debug.cc

Issue 543154: Fix lint errors (Closed)
Patch Set: Created 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-debug.cc
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
index 3c1e6c94d4af488c53e2d77761e0fdf39cfcffe7..f8cc894916ee8e402d1e44947dcd9d6d259e4605 100644
--- a/test/cctest/test-debug.cc
+++ b/test/cctest/test-debug.cc
@@ -2315,9 +2315,10 @@ TEST(DebugEvaluateWithoutStack) {
CHECK_EQ(3, process_debug_messages_data.counter);
- CHECK(strcmp("Pinguin", process_debug_messages_data.results[0].buffer) == 0);
- CHECK(strcmp("Capybara", process_debug_messages_data.results[1].buffer) == 0);
- CHECK(strcmp("805", process_debug_messages_data.results[2].buffer) == 0);
+ CHECK_EQ(strcmp("Pinguin", process_debug_messages_data.results[0].buffer), 0);
+ CHECK_EQ(strcmp("Capybara", process_debug_messages_data.results[1].buffer),
+ 0);
+ CHECK_EQ(strcmp("805", process_debug_messages_data.results[2].buffer), 0);
v8::Debug::SetMessageHandler(NULL);
v8::Debug::SetDebugEventListener(NULL);
@@ -4264,7 +4265,7 @@ class BreakpointsV8Thread : public v8::internal::Thread {
class BreakpointsDebuggerThread : public v8::internal::Thread {
public:
- BreakpointsDebuggerThread(bool global_evaluate)
+ explicit BreakpointsDebuggerThread(bool global_evaluate)
: global_evaluate_(global_evaluate) {}
void Run();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698