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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp

Issue 1767883002: DevTools: generate string16-based handlers for v8_inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 2 Created 4 years, 9 months 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp
index ca8ca7f09abedf78b4c0de5043aca453a6092f6c..14dba693e97653e5c4ed0726e1f949a6977459ce 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerScript.cpp
@@ -18,36 +18,36 @@ V8DebuggerScript::V8DebuggerScript()
{
}
-String V8DebuggerScript::sourceURL() const
+String16 V8DebuggerScript::sourceURL() const
{
return m_sourceURL.isEmpty() ? m_url : m_sourceURL;
}
-V8DebuggerScript& V8DebuggerScript::setURL(const String& url)
+V8DebuggerScript& V8DebuggerScript::setURL(const String16& url)
{
m_url = url;
return *this;
}
-V8DebuggerScript& V8DebuggerScript::setSourceURL(const String& sourceURL)
+V8DebuggerScript& V8DebuggerScript::setSourceURL(const String16& sourceURL)
{
m_sourceURL = sourceURL;
return *this;
}
-V8DebuggerScript& V8DebuggerScript::setSourceMappingURL(const String& sourceMappingURL)
+V8DebuggerScript& V8DebuggerScript::setSourceMappingURL(const String16& sourceMappingURL)
{
m_sourceMappingURL = sourceMappingURL;
return *this;
}
-V8DebuggerScript& V8DebuggerScript::setSource(const String& source)
+V8DebuggerScript& V8DebuggerScript::setSource(const String16& source)
{
m_source = source;
return *this;
}
-V8DebuggerScript& V8DebuggerScript::setHash(const String& hash)
+V8DebuggerScript& V8DebuggerScript::setHash(const String16& hash)
{
m_hash = hash;
return *this;

Powered by Google App Engine
This is Rietveld 408576698