Skip to content
  • gyuyoung.kim@samsung.com's avatar
    Add *explicit* keyword to constructors in WebCore/xml · dedfe284
    gyuyoung.kim@samsung.com authored
    https://bugs.webkit.org/show_bug.cgi?id=96071
    
    Reviewed by Kentaro Hara.
    
    As a step to let *explicit* add to constructors which have only one parameter,
    *explicit* is added to Source/WebCore/xml in order to avoid implicit type conversion.
    
    No new tests. Covered by existing tests.
    
    * xml/NativeXPathNSResolver.h:
    (NativeXPathNSResolver):
    * xml/XMLHttpRequestException.h:
    (WebCore::XMLHttpRequestException::XMLHttpRequestException):
    * xml/XMLHttpRequestProgressEventThrottle.h:
    (XMLHttpRequestProgressEventThrottle):
    * xml/XMLHttpRequestUpload.h:
    (XMLHttpRequestUpload):
    * xml/XPathException.h:
    (WebCore::XPathException::XPathException):
    * xml/XPathPredicate.h:
    (Number):
    (StringExpression):
    (Predicate):
    * xml/XPathValue.h:
    (WebCore::XPath::ValueData::ValueData):
    * xml/XPathVariableReference.h:
    (VariableReference):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    dedfe284