diff options
Diffstat (limited to 'Source/JavaScriptCore/profiler/Profile.h')
-rw-r--r-- | Source/JavaScriptCore/profiler/Profile.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/profiler/Profile.h b/Source/JavaScriptCore/profiler/Profile.h index 9455e3595..c1c69193c 100644 --- a/Source/JavaScriptCore/profiler/Profile.h +++ b/Source/JavaScriptCore/profiler/Profile.h @@ -27,18 +27,18 @@ #define Profile_h #include "ProfileNode.h" -#include <runtime/UString.h> #include <wtf/RefCounted.h> #include <wtf/RefPtr.h> +#include <wtf/text/WTFString.h> namespace JSC { class Profile : public RefCounted<Profile> { public: - static PassRefPtr<Profile> create(const UString& title, unsigned uid); + static PassRefPtr<Profile> create(const String& title, unsigned uid); virtual ~Profile(); - const UString& title() const { return m_title; } + const String& title() const { return m_title; } ProfileNode* head() const { return m_head.get(); } void setHead(PassRefPtr<ProfileNode> head) { m_head = head; } double totalTime() const { return m_head->totalTime(); } @@ -56,13 +56,13 @@ namespace JSC { #endif protected: - Profile(const UString& title, unsigned uid); + Profile(const String& title, unsigned uid); private: void removeProfileStart(); void removeProfileEnd(); - UString m_title; + String m_title; RefPtr<ProfileNode> m_head; unsigned int m_uid; }; |