[webkit-reviews] review granted: [Bug 113502] CSP 1.1: Remove 'type' parameter from CSPDirectiveList::checkSourceAndReportViolation. : [Attachment 195557] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 30 10:55:09 PDT 2013


Adam Barth <abarth at webkit.org> has granted Mike West <mkwst at chromium.org>'s
request for review:
Bug 113502: CSP 1.1: Remove 'type' parameter from
CSPDirectiveList::checkSourceAndReportViolation.
https://bugs.webkit.org/show_bug.cgi?id=113502

Attachment 195557: Patch
https://bugs.webkit.org/attachment.cgi?id=195557&action=review

------- Additional Comments from Adam Barth <abarth at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=195557&action=review


> Source/WebCore/page/ContentSecurityPolicy.cpp:1053
> +    String prefix = String();

There's no need for the "= String()" here.  The compiler automatically calls
the default constructor.


More information about the webkit-reviews mailing list