X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/a253471d7f8e4d91bf6ebabab00155c3b387d3d0..93a3786624b2768d89bfa27e46598dc64e2fb70a:/profiler/CallIdentifier.h diff --git a/profiler/CallIdentifier.h b/profiler/CallIdentifier.h index 2da8a2f..bf9f904 100644 --- a/profiler/CallIdentifier.h +++ b/profiler/CallIdentifier.h @@ -27,17 +27,17 @@ #ifndef CallIdentifier_h #define CallIdentifier_h -#include #include #include +#include namespace JSC { struct CallIdentifier { WTF_MAKE_FAST_ALLOCATED; public: - UString m_name; - UString m_url; + String m_name; + String m_url; unsigned m_lineNumber; CallIdentifier() @@ -45,7 +45,7 @@ namespace JSC { { } - CallIdentifier(const UString& name, const UString& url, int lineNumber) + CallIdentifier(const String& name, const String& url, int lineNumber) : m_name(name) , m_url(!url.isNull() ? url : "") , m_lineNumber(lineNumber) @@ -87,7 +87,7 @@ namespace WTF { template<> struct HashTraits : GenericHashTraits { static void constructDeletedValue(JSC::CallIdentifier& slot) { - new (NotNull, &slot) JSC::CallIdentifier(JSC::UString(), JSC::UString(), std::numeric_limits::max()); + new (NotNull, &slot) JSC::CallIdentifier(String(), String(), std::numeric_limits::max()); } static bool isDeletedValue(const JSC::CallIdentifier& value) {