diff options
Diffstat (limited to 'WebCore/bindings/js/StringSourceProvider.h')
-rw-r--r-- | WebCore/bindings/js/StringSourceProvider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bindings/js/StringSourceProvider.h b/WebCore/bindings/js/StringSourceProvider.h index 770c4fc..478c1d1 100644 --- a/WebCore/bindings/js/StringSourceProvider.h +++ b/WebCore/bindings/js/StringSourceProvider.h @@ -29,6 +29,7 @@ #ifndef StringSourceProvider_h #define StringSourceProvider_h +#include "JSDOMBinding.h" #include "ScriptSourceProvider.h" #include <parser/SourceCode.h> @@ -45,7 +46,7 @@ namespace WebCore { private: StringSourceProvider(const String& source, const String& url) - : ScriptSourceProvider(url) + : ScriptSourceProvider(stringToUString(url)) , m_source(source) { } |