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

Unified Diff: Source/core/css/CSSInitialValue.h

Issue 22893004: Add explicit keyword to constructors that take one argument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 | « Source/core/css/CSSImageSetValue.h ('k') | Source/core/css/CSSKeyframesRule.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSInitialValue.h
diff --git a/Source/core/css/CSSInitialValue.h b/Source/core/css/CSSInitialValue.h
index 4a0f53fb772eb57223ff093be3ae6482c631301d..f2bc029904f61891d901a262d792f9c425a5b341 100644
--- a/Source/core/css/CSSInitialValue.h
+++ b/Source/core/css/CSSInitialValue.h
@@ -44,7 +44,7 @@ public:
bool equals(const CSSInitialValue&) const { return true; }
private:
- CSSInitialValue(bool implicit)
+ explicit CSSInitialValue(bool implicit)
: CSSValue(InitialClass)
, m_isImplicit(implicit)
{
« no previous file with comments | « Source/core/css/CSSImageSetValue.h ('k') | Source/core/css/CSSKeyframesRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698