Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index fe5cdcd0f764db3adaa7b8a7932f6907fb31d66d..cd4e5152f9dd7fda62cfb2af9e4447e38edaa022 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -249,25 +249,20 @@ NavigationControllerImpl::~NavigationControllerImpl() { |
} |
WebContents* NavigationControllerImpl::GetWebContents() const { |
return delegate_->GetWebContents(); |
} |
BrowserContext* NavigationControllerImpl::GetBrowserContext() const { |
return browser_context_; |
} |
-void NavigationControllerImpl::SetBrowserContext( |
- BrowserContext* browser_context) { |
- browser_context_ = browser_context; |
-} |
- |
void NavigationControllerImpl::Restore( |
int selected_navigation, |
RestoreType type, |
std::vector<std::unique_ptr<NavigationEntry>>* entries) { |
// Verify that this controller is unused and that the input is valid. |
DCHECK(GetEntryCount() == 0 && !GetPendingEntry()); |
DCHECK(selected_navigation >= 0 && |
selected_navigation < static_cast<int>(entries->size())); |
needs_reload_ = true; |