Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4877)

Unified Diff: chrome/browser/oom_priority_manager.cc

Issue 8949061: Move a bunch of methods from TabContents into the WebContents interface. This change either moves... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/oom_priority_manager.cc
===================================================================
--- chrome/browser/oom_priority_manager.cc (revision 115435)
+++ chrome/browser/oom_priority_manager.cc (working copy)
@@ -266,9 +266,9 @@
const TabStripModel* model = browser->tabstrip_model();
for (int i = 0; i < model->count(); i++) {
TabContents* contents = model->GetTabContentsAt(i)->tab_contents();
- if (!contents->is_crashed()) {
+ if (!contents->IsCrashed()) {
TabStats stats;
- stats.last_selected = contents->last_selected_time();
+ stats.last_selected = contents->GetLastSelectedTime();
stats.renderer_handle = contents->GetRenderProcessHost()->GetHandle();
stats.is_pinned = model->IsTabPinned(i);
stats.is_selected = model->IsTabSelected(i);
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698