| Index: chrome/browser/tabs/pinned_tab_codec.cc
|
| diff --git a/chrome/browser/tabs/pinned_tab_codec.cc b/chrome/browser/tabs/pinned_tab_codec.cc
|
| index cb3c7f7a3d5f37260e1129c3010a5269878602b3..eaa02da1452d6a7442f428d0ad96b13c00a64740 100644
|
| --- a/chrome/browser/tabs/pinned_tab_codec.cc
|
| +++ b/chrome/browser/tabs/pinned_tab_codec.cc
|
| @@ -53,9 +53,10 @@ static void EncodePinnedTab(TabStripModel* model,
|
| value->SetString(kURL, extension->GetFullLaunchURL().spec());
|
| values->Append(value.release());
|
| } else {
|
| - NavigationEntry* entry = tab_contents->controller().GetActiveEntry();
|
| - if (!entry && tab_contents->controller().entry_count())
|
| - entry = tab_contents->controller().GetEntryAtIndex(0);
|
| + NavigationEntry* entry =
|
| + tab_contents->tab_contents()->controller().GetActiveEntry();
|
| + if (!entry && tab_contents->tab_contents()->controller().entry_count())
|
| + entry = tab_contents->tab_contents()->controller().GetEntryAtIndex(0);
|
| if (entry) {
|
| value->SetString(kURL, entry->url().spec());
|
| values->Append(value.release());
|
|
|