| Index: third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| index 10f872153156450b9b7a9fc1e1fb0bd04a815644..159a689893921ca7447bb5f37a38fa0b0f977579 100644
|
| --- a/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDataSourceImpl.cpp
|
| @@ -98,14 +98,6 @@ bool WebDataSourceImpl::isClientRedirect() const {
|
| return DocumentLoader::isClientRedirect();
|
| }
|
|
|
| -bool WebDataSourceImpl::replacesCurrentHistoryItem() const {
|
| - return DocumentLoader::replacesCurrentHistoryItem();
|
| -}
|
| -
|
| -WebNavigationType WebDataSourceImpl::navigationType() const {
|
| - return toWebNavigationType(DocumentLoader::getNavigationType());
|
| -}
|
| -
|
| WebDataSource::ExtraData* WebDataSourceImpl::getExtraData() const {
|
| return m_extraData.get();
|
| }
|
| @@ -120,24 +112,6 @@ void WebDataSourceImpl::setNavigationStartTime(double navigationStart) {
|
| timing().setNavigationStart(navigationStart);
|
| }
|
|
|
| -WebNavigationType WebDataSourceImpl::toWebNavigationType(NavigationType type) {
|
| - switch (type) {
|
| - case NavigationTypeLinkClicked:
|
| - return WebNavigationTypeLinkClicked;
|
| - case NavigationTypeFormSubmitted:
|
| - return WebNavigationTypeFormSubmitted;
|
| - case NavigationTypeBackForward:
|
| - return WebNavigationTypeBackForward;
|
| - case NavigationTypeReload:
|
| - return WebNavigationTypeReload;
|
| - case NavigationTypeFormResubmitted:
|
| - return WebNavigationTypeFormResubmitted;
|
| - case NavigationTypeOther:
|
| - default:
|
| - return WebNavigationTypeOther;
|
| - }
|
| -}
|
| -
|
| WebDataSourceImpl::WebDataSourceImpl(LocalFrame* frame,
|
| const ResourceRequest& request,
|
| const SubstituteData& data,
|
|
|