| Index: chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| diff --git a/chrome/browser/ui/tabs/pinned_tab_codec.cc b/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| index 2c406fc3eefe36080db500778814a6b3b807267c..a49e626fbf1bfff3d7845f6aa10454feefeae120 100644
|
| --- a/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| +++ b/chrome/browser/ui/tabs/pinned_tab_codec.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/ui/browser_iterator.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| +#include "chrome/common/extensions/app_launcher_info.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -62,7 +63,8 @@ static void EncodePinnedTab(TabStripModel* model,
|
| // For apps we use the launch url. We do this because the user is
|
| // effectively restarting the app, so returning them to the app's launch
|
| // page seems closest to what they expect.
|
| - value->SetString(kURL, extension->GetFullLaunchURL().spec());
|
| + value->SetString(
|
| + kURL, extensions::AppLauncherInfo::GetFullLaunchURL(extension).spec());
|
| values->Append(value.release());
|
| } else {
|
| NavigationEntry* entry = web_contents->GetController().GetActiveEntry();
|
|
|