| 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..aff669cb03bf007bbe4db6d2d3efcaf87a6d0ac4 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_launch_manifest_handler.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::AppLaunchInfo::GetFullLaunchURL(extension).spec());
|
| values->Append(value.release());
|
| } else {
|
| NavigationEntry* entry = web_contents->GetController().GetActiveEntry();
|
|
|