From 46104342420da83beb89a5ae83b5b27a6fe05f29 Mon Sep 17 00:00:00 2001
From: Kondapally Kalyan <kalyan.kondapally@intel.com>
Date: Sun, 25 May 2014 21:38:33 +0300
Subject: [PATCH] Temporary patch to fix linking issue.

---
 .../views/app_list/linux/app_list_service_linux.cc |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc b/chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc
index e6df273..e49ba00 100644
--- a/chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc
+++ b/chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc
@@ -84,14 +84,18 @@ void AppListServiceLinux::MoveNearCursor(app_list::AppListView* view) {

 // static
 AppListService* AppListService::Get(chrome::HostDesktopType desktop_type) {
+#if defined(USE_ASH)
   if (desktop_type == chrome::HOST_DESKTOP_TYPE_ASH)
     return AppListServiceAsh::GetInstance();
+#endif

   return AppListServiceLinux::GetInstance();
 }

 // static
 void AppListService::InitAll(Profile* initial_profile) {
+#if defined(USE_ASH)
   AppListServiceAsh::GetInstance()->Init(initial_profile);
+#endif
   AppListServiceLinux::GetInstance()->Init(initial_profile);
 }
--
1.7.9.5

Fix linking issue when building Chrome.
Garndeing: Fix linking issue when building Chrome.

Effecting CL: https://codereview.chromium.org/270383007
