summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 18:37:25 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 18:37:25 +0000
commit022af74f8f0ab0ed381cc64831c7ad3921d02a7b (patch)
treed5a9492eeb97f71fa6670114b4736bc1c756afb1 /chrome/browser/memory_details.cc
parent4f57823d8673c30668f562ff20290bb12b3eda83 (diff)
downloadchromium_src-022af74f8f0ab0ed381cc64831c7ad3921d02a7b.zip
chromium_src-022af74f8f0ab0ed381cc64831c7ad3921d02a7b.tar.gz
chromium_src-022af74f8f0ab0ed381cc64831c7ad3921d02a7b.tar.bz2
Remove the remaining usages of NavigationEntry in chrome by converting a few more NavigationController methods to return the interface. In a followup, I'll rename NavigationEntry to NavigationEntryImpl, then create an interface for NavigationController.
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9004045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115900 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index c48a6c4..9569c05 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -19,9 +19,9 @@
#include "content/browser/browser_child_process_host.h"
#include "content/browser/renderer_host/backing_store_manager.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/browser/tab_contents/navigation_entry.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/common/process_type.h"
@@ -284,8 +284,8 @@ void MemoryDetails::CollectChildInfoOnUIThread() {
// last committed entry.
//
// Either the pending or last committed entries can be NULL.
- const NavigationEntry* pending_entry =
- contents->GetController().pending_entry();
+ const content::NavigationEntry* pending_entry =
+ contents->GetController().GetPendingEntry();
const content::NavigationEntry* last_committed_entry =
contents->GetController().GetLastCommittedEntry();
if ((last_committed_entry &&