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

Unified Diff: chrome/browser/memory_details.cc

Issue 50014: Fix a bunch of tiny near-bugs and bugs that static analysis identified... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months 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 | « base/tracked_objects.cc ('k') | chrome/browser/net/dns_host_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details.cc
===================================================================
--- chrome/browser/memory_details.cc (revision 12136)
+++ chrome/browser/memory_details.cc (working copy)
@@ -219,7 +219,7 @@
title = L"Untitled";
process.titles.push_back(title);
- // We need to check the pending entry as well as the pending entry to
+ // We need to check the pending entry as well as the display_url to
// see if it's an about:memory URL (we don't want to count these in the
// total memory usage of the browser).
//
@@ -230,8 +230,8 @@
// entry.
//
// Either the pending or last committed entries can be NULL.
- const NavigationEntry* pending_entry = NULL;
- //contents->controller()->GetPendingEntry();
+ const NavigationEntry* pending_entry =
+ contents->controller()->GetPendingEntry();
const NavigationEntry* last_committed_entry =
contents->controller()->GetLastCommittedEntry();
if ((last_committed_entry &&
« no previous file with comments | « base/tracked_objects.cc ('k') | chrome/browser/net/dns_host_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698