Index: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp |
index be6b8d825c2b2202cdd7e538920470c9d0eebc88..f7eb12a3ba883e46a245fbd9b28179bee327ab21 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp |
@@ -12,11 +12,6 @@ ScriptSourceCode::ScriptSourceCode() |
} |
ScriptSourceCode::ScriptSourceCode(const String& source, const KURL& url, const TextPosition& startPosition) |
- : ScriptSourceCode(CompressibleString(source.impl()), url, startPosition) |
-{ |
-} |
- |
-ScriptSourceCode::ScriptSourceCode(const CompressibleString& source, const KURL& url, const TextPosition& startPosition) |
: m_source(source) |
, m_url(url) |
, m_startPosition(startPosition) |
@@ -86,7 +81,7 @@ void ScriptSourceCode::treatNullSourceAsEmpty() |
// the empty script. Consequently, we need to disambiguate between such null string occurrences. |
// Do that by converting the latter case's null strings into empty ones. |
if (m_source.isNull()) |
- m_source = CompressibleString(); |
+ m_source = ""; |
} |
} // namespace blink |