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

Unified Diff: webkit/glue/cpp_bound_class.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 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 | « webkit/blob/mock_blob_url_request_context.cc ('k') | webkit/glue/image_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/cpp_bound_class.cc
diff --git a/webkit/glue/cpp_bound_class.cc b/webkit/glue/cpp_bound_class.cc
index 75f91fb791a838685f8d073a038bd706c2f3a3e8..18986b99863456b11634db6d5f96875b9c7ed09b 100644
--- a/webkit/glue/cpp_bound_class.cc
+++ b/webkit/glue/cpp_bound_class.cc
@@ -30,7 +30,7 @@ namespace {
class CppVariantPropertyCallback : public CppBoundClass::PropertyCallback {
public:
- CppVariantPropertyCallback(CppVariant* value) : value_(value) { }
+ explicit CppVariantPropertyCallback(CppVariant* value) : value_(value) { }
virtual bool GetValue(CppVariant* value) {
value->Set(*value_);
@@ -47,7 +47,7 @@ class CppVariantPropertyCallback : public CppBoundClass::PropertyCallback {
class GetterPropertyCallback : public CppBoundClass::PropertyCallback {
public:
- GetterPropertyCallback(const CppBoundClass::GetterCallback& callback)
+ explicit GetterPropertyCallback(const CppBoundClass::GetterCallback& callback)
: callback_(callback) { }
virtual bool GetValue(CppVariant* value) {
« no previous file with comments | « webkit/blob/mock_blob_url_request_context.cc ('k') | webkit/glue/image_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698