Index: third_party/WebKit/public/web/WebHistoryItem.h |
diff --git a/third_party/WebKit/public/web/WebHistoryItem.h b/third_party/WebKit/public/web/WebHistoryItem.h |
index 39e53401664ff44e5c837cc5eeaa068e21f5db71..109c3c1be9a659e59bc7887adb8fb8d3061d912e 100644 |
--- a/third_party/WebKit/public/web/WebHistoryItem.h |
+++ b/third_party/WebKit/public/web/WebHistoryItem.h |
@@ -35,6 +35,7 @@ |
#include "../platform/WebHistoryScrollRestorationType.h" |
#include "../platform/WebPrivatePtr.h" |
#include "../platform/WebReferrerPolicy.h" |
+#include "public/platform/WebString.h" |
namespace blink { |
@@ -81,7 +82,7 @@ class WebHistoryItem { |
BLINK_EXPORT WebReferrerPolicy getReferrerPolicy() const; |
BLINK_EXPORT void setReferrer(const WebString&, WebReferrerPolicy); |
- BLINK_EXPORT WebString target() const; |
+ BLINK_EXPORT const WebString& target() const; |
BLINK_EXPORT void setTarget(const WebString&); |
BLINK_EXPORT WebFloatPoint visualViewportScrollOffset() const; |
@@ -127,6 +128,8 @@ class WebHistoryItem { |
private: |
WebPrivatePtr<HistoryItem> m_private; |
+ // TODO(dcheng): Remove this, since unique name is no longer a Blink concept. |
+ WebString m_target; |
}; |
} // namespace blink |