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

Unified Diff: base/values_unittest.cc

Issue 552004: Style cleanup in preparation for auto-linting base/. (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 | « base/values.h ('k') | base/version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values_unittest.cc
diff --git a/base/values_unittest.cc b/base/values_unittest.cc
index 912b38025ef1d72f267c14fe46792b78ff8bf17b..fedfd09184daa72786f6977084552f625e13cb04 100644
--- a/base/values_unittest.cc
+++ b/base/values_unittest.cc
@@ -150,7 +150,7 @@ TEST(ValuesTest, StringValue) {
// properly deleted by modifying the value of external flag on destruction.
class DeletionTestValue : public Value {
public:
- DeletionTestValue(bool* deletion_flag) : Value(TYPE_NULL) {
+ explicit DeletionTestValue(bool* deletion_flag) : Value(TYPE_NULL) {
Init(deletion_flag); // Separate function so that we can use ASSERT_*
}
« no previous file with comments | « base/values.h ('k') | base/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698