summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/page/Location.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/Location.h')
-rw-r--r--Source/WebCore/page/Location.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/page/Location.h b/Source/WebCore/page/Location.h
index 1b68cee..0e89ecf 100644
--- a/Source/WebCore/page/Location.h
+++ b/Source/WebCore/page/Location.h
@@ -29,9 +29,9 @@
#ifndef Location_h
#define Location_h
-#include <wtf/Forward.h>
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
+#include <wtf/text/WTFString.h>
namespace WebCore {
@@ -71,7 +71,7 @@ public:
String hash() const;
String origin() const;
- String toString() const;
+ String toString() const { return href(); }
String getParameter(const String&) const;