Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1296)

Unified Diff: Source/core/inspector/ScriptProfile.cpp

Issue 113213002: Rename toWebCoreString*() utility methods to toCoreString*() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Keep "to" prefix Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/JavaScriptCallFrame.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « Source/core/inspector/JavaScriptCallFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698