Index: Source/core/inspector/ScriptProfile.cpp |
diff --git a/Source/core/inspector/ScriptProfile.cpp b/Source/core/inspector/ScriptProfile.cpp |
index e77883e3c54e8376750ab843fda84dae3eb4bff5..8eef1ea15acbb394f3a6e92c755da080fa8f4f51 100644 |
--- a/Source/core/inspector/ScriptProfile.cpp |
+++ b/Source/core/inspector/ScriptProfile.cpp |
@@ -46,7 +46,7 @@ ScriptProfile::~ScriptProfile() |
String ScriptProfile::title() const |
{ |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |
- return toWebCoreString(m_profile->GetTitle()); |
+ return toCoreString(m_profile->GetTitle()); |
} |
unsigned int ScriptProfile::uid() const |
@@ -81,9 +81,9 @@ static PassRefPtr<TypeBuilder::Profiler::CPUProfileNode> buildInspectorObjectFor |
} |
RefPtr<TypeBuilder::Profiler::CPUProfileNode> result = TypeBuilder::Profiler::CPUProfileNode::create() |
- .setFunctionName(toWebCoreString(node->GetFunctionName())) |
+ .setFunctionName(toCoreString(node->GetFunctionName())) |
.setScriptId(String::number(node->GetScriptId())) |
- .setUrl(toWebCoreString(node->GetScriptResourceName())) |
+ .setUrl(toCoreString(node->GetScriptResourceName())) |
.setLineNumber(node->GetLineNumber()) |
.setColumnNumber(node->GetColumnNumber()) |
.setHitCount(node->GetHitCount()) |