| Index: chrome/browser/ui/browser_commands.cc
|
| diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
|
| index 9d6151a8d5372bf69327d20ec365fc8544c32283..196688b3f379665cd6074400665d34dfc7b93ff4 100644
|
| --- a/chrome/browser/ui/browser_commands.cc
|
| +++ b/chrome/browser/ui/browser_commands.cc
|
| @@ -1057,8 +1057,8 @@ void ViewSource(Browser* browser,
|
| // Note that Clone does not copy the pending or transient entries, so the
|
| // active entry in view_source_contents will be the last committed entry.
|
| WebContents* view_source_contents = contents->Clone();
|
| - DCHECK(view_source_contents->GetController().CanPruneAllButVisible());
|
| - view_source_contents->GetController().PruneAllButVisible();
|
| + DCHECK(view_source_contents->GetController().CanPruneAllButLastCommitted());
|
| + view_source_contents->GetController().PruneAllButLastCommitted();
|
| NavigationEntry* active_entry =
|
| view_source_contents->GetController().GetActiveEntry();
|
| if (!active_entry)
|
|
|