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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/WebCore/bindings/js/StringSourceProvider.h b/WebCore/bindings/js/StringSourceProvider.h
index faa848c..ab37a56 100644
--- a/WebCore/bindings/js/StringSourceProvider.h
+++ b/WebCore/bindings/js/StringSourceProvider.h
@@ -29,7 +29,7 @@
#ifndef StringSourceProvider_h
#define StringSourceProvider_h
-#include <kjs/SourceCode.h>
+#include <parser/SourceCode.h>
namespace WebCore {
@@ -51,10 +51,11 @@ namespace WebCore {
String m_source;
};
- inline JSC::SourceCode makeSource(const String& source, const JSC::UString& url = JSC::UString(), int firstLine = 1)
+ inline JSC::SourceCode makeSource(const String& source, const String& url = String(), int firstLine = 1)
{
return JSC::SourceCode(StringSourceProvider::create(source, url), firstLine);
}
-}
-#endif
+} // namespace WebCore
+
+#endif // StringSourceProvider_h