RESOLVED FIXED 137356
Simplify StringTypeAdapter templates
https://bugs.webkit.org/show_bug.cgi?id=137356
Summary Simplify StringTypeAdapter templates
Anders Carlsson
Reported 2014-10-02 13:36:50 PDT
Simplify StringTypeAdapter templates
Attachments
Patch (17.16 KB, patch)
2014-10-02 13:38 PDT, Anders Carlsson
no flags
Patch (17.70 KB, patch)
2014-10-02 14:08 PDT, Anders Carlsson
no flags
Patch (18.08 KB, patch)
2014-10-02 14:54 PDT, Anders Carlsson
kling: review+
Anders Carlsson
Comment 1 2014-10-02 13:38:49 PDT
Tim Horton
Comment 2 2014-10-02 14:00:29 PDT
Comment on attachment 239134 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239134&action=review > Source/WTF/wtf/text/StringConcatenate.h:35 > +#ifndef StringView_h Wut. > Source/WTF/wtf/text/StringView.h:177 > +#include <wtf/text/WTFString.h> Why is this down here? > Source/WTF/wtf/text/StringView.h:179 > +namespace WTF { Why a second namespace WTF?
Anders Carlsson
Comment 3 2014-10-02 14:08:14 PDT
(In reply to comment #2) > (From update of attachment 239134 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=239134&action=review > > > Source/WTF/wtf/text/StringConcatenate.h:35 > > +#ifndef StringView_h > > Wut. It's an external header guard. > > > Source/WTF/wtf/text/StringView.h:177 > > +#include <wtf/text/WTFString.h> > > Why is this down here? It's to avoid a cyclical include chain. > > > Source/WTF/wtf/text/StringView.h:179 > > +namespace WTF { > > Why a second namespace WTF? We don't want to #include when inside the namespace.
Anders Carlsson
Comment 4 2014-10-02 14:08:45 PDT
Anders Carlsson
Comment 5 2014-10-02 14:54:26 PDT
Anders Carlsson
Comment 6 2014-10-02 15:48:49 PDT
Note You need to log in before you can comment on or make changes to this bug.