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

Unified Diff: Source/core/xml/parser/XMLDocumentParserScope.h

Issue 207103003: Add *explicit* keyword to avoid implicit type conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated Created 6 years, 9 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/svg/SVGDocumentExtensions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLDocumentParserScope.h
diff --git a/Source/core/xml/parser/XMLDocumentParserScope.h b/Source/core/xml/parser/XMLDocumentParserScope.h
index 613d165cb279048045d47669d93eaeedfcb09dd6..5ff80416e82ba257a2018ee9494ed5633232a646 100644
--- a/Source/core/xml/parser/XMLDocumentParserScope.h
+++ b/Source/core/xml/parser/XMLDocumentParserScope.h
@@ -36,7 +36,7 @@ class ResourceFetcher;
class XMLDocumentParserScope {
WTF_MAKE_NONCOPYABLE(XMLDocumentParserScope);
public:
- XMLDocumentParserScope(ResourceFetcher*);
+ explicit XMLDocumentParserScope(ResourceFetcher*);
~XMLDocumentParserScope();
static ResourceFetcher* currentFetcher;
« no previous file with comments | « Source/core/svg/SVGDocumentExtensions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698