summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/StringSourceProvider.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/StringSourceProvider.h')
-rw-r--r--WebCore/bindings/js/StringSourceProvider.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/bindings/js/StringSourceProvider.h b/WebCore/bindings/js/StringSourceProvider.h
index 2a18006..478c1d1 100644
--- a/WebCore/bindings/js/StringSourceProvider.h
+++ b/WebCore/bindings/js/StringSourceProvider.h
@@ -49,10 +49,6 @@ namespace WebCore {
: ScriptSourceProvider(stringToUString(url))
, m_source(source)
{
- if (m_source.length()) {
- bool scratch = false;
- m_source = String(source.impl()->copyStringWithoutBOMs(false, scratch));
- }
}
String m_source;