Index: Source/WebCore/platform/KURLGooglePrivate.h |
diff --git a/Source/WebCore/platform/KURLGooglePrivate.h b/Source/WebCore/platform/KURLGooglePrivate.h |
index 31efd64eecfd78f69b6d58536c72bc2bf771c4ab..e09c1ea537401e3915598d8ed58fd33c750abb7c 100644 |
--- a/Source/WebCore/platform/KURLGooglePrivate.h |
+++ b/Source/WebCore/platform/KURLGooglePrivate.h |
@@ -32,6 +32,7 @@ |
#define KURLGooglePrivate_h |
#include <wtf/text/CString.h> |
+#include <wtf/OwnPtr.h> |
#include <googleurl/src/url_parse.h> |
#include <googleurl/src/url_canon.h> |
@@ -49,6 +50,8 @@ namespace WebCore { |
KURLGooglePrivate(); |
KURLGooglePrivate(const url_parse::Parsed&, bool isValid); |
KURLGooglePrivate(WTF::HashTableDeletedValueType); |
+ KURLGooglePrivate(const KURLGooglePrivate&); |
+ KURLGooglePrivate& operator=(const KURLGooglePrivate&); |
// Initializes the object. This will call through the backend initializer |
// below. |
@@ -94,7 +97,10 @@ namespace WebCore { |
bool m_protocolIsInHTTPFamily; |
url_parse::Parsed m_parsed; // Indexes into the UTF-8 version of the string. |
+ KURL* innerURL() const { return m_innerURL.get(); } |
+ |
private: |
+ void initInnerURL(); |
void initProtocolIsInHTTPFamily(); |
CString m_utf8; |
@@ -107,6 +113,8 @@ namespace WebCore { |
mutable bool m_stringIsValid; |
mutable String m_string; |
+ |
+ OwnPtr<KURL> m_innerURL; |
}; |
} // namespace WebCore |