Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 6ed02ce9fe313491114cffcedede6a9f14b08ea0..a3f67e585091340a99f779beaad63cc8083e5d8d 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2065,15 +2065,6 @@ void WebContentsImpl::GenerateMHTML( |
MHTMLGenerationManager::GetInstance()->SaveMHTML(this, file, callback); |
} |
-// TODO(nasko): Rename this method to IsVisibleEntry. |
-bool WebContentsImpl::IsActiveEntry(int32 page_id) { |
- NavigationEntryImpl* visible_entry = |
- NavigationEntryImpl::FromNavigationEntry(controller_.GetVisibleEntry()); |
- return (visible_entry != NULL && |
- visible_entry->site_instance() == GetSiteInstance() && |
- visible_entry->GetPageID() == page_id); |
-} |
- |
const std::string& WebContentsImpl::GetContentsMimeType() const { |
return contents_mime_type_; |
} |