[Webkit-unassigned] [Bug 67848] [chromium] Workaround for String/HashSet/StringHash #include order glitch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 9 08:39:41 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=67848





--- Comment #4 from Iain Merrick <husky at google.com>  2011-09-09 08:39:42 PST ---
Simple version: nobody actually includes StringHash.h! So this doesn't compile:

#include <wtf/HashSet.h>
#include <wtf/text/WTFString.h>

class ScoobyDoo {
  HashSet<String> scrappy;
};

#include <wtf/text/StringHash.h>

I think this *does* mean we were using the wrong hash traits.

The only core header that includes StringHash.h is WTFThreadData.h, which is why it showed up when I had thread-related code and GraphicsContext3D in the same .cpp file.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list