| Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| index 485d3c84f06f64a4d9a699280e66d401612a0a8a..2c281c8121d555a49c27276c42e53c079309d756 100644
|
| --- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| +++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc
|
| @@ -198,18 +198,16 @@ void LocalDiscoveryUIHandler::HandleRequestPrinterList(
|
|
|
| void LocalDiscoveryUIHandler::HandleOpenCloudPrintURL(
|
| const base::ListValue* args) {
|
| - std::string url;
|
| - bool rv = args->GetString(0, &url);
|
| + std::string id;
|
| + bool rv = args->GetString(0, &id);
|
| DCHECK(rv);
|
|
|
| - GURL url_full(cloud_devices::GetCloudPrintRelativeURL(url));
|
| -
|
| Browser* browser = chrome::FindBrowserWithWebContents(
|
| web_ui()->GetWebContents());
|
| DCHECK(browser);
|
|
|
| chrome::AddSelectedTabWithURL(browser,
|
| - url_full,
|
| + cloud_devices::GetCloudPrintManageDeviceURL(id),
|
| content::PAGE_TRANSITION_FROM_API);
|
| }
|
|
|
|
|