]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - profiler/Profile.cpp
JavaScriptCore-584.tar.gz
[apple/javascriptcore.git] / profiler / Profile.cpp
index 72e6d21a0b0271e381755a537f24b6f569eeef11..de75e71c614e48507af6ce8a0c065e6c55badfc8 100644 (file)
 #include "Profile.h"
 
 #include "ProfileNode.h"
-#include "TreeProfile.h"
 #include <stdio.h>
 
 namespace JSC {
 
 PassRefPtr<Profile> Profile::create(const UString& title, unsigned uid)
 {
-    return TreeProfile::create(title, uid);
+    return adoptRef(new Profile(title, uid));
 }
 
 Profile::Profile(const UString& title, unsigned uid)