$OpenBSD: patch-chrome_browser_web_applications_web_app_cc,v 1.9 2014/07/20 17:22:34 robert Exp $
--- chrome/browser/web_applications/web_app.cc.orig.port	Tue Jul 15 13:01:17 2014
+++ chrome/browser/web_applications/web_app.cc	Sat Jul 19 11:33:58 2014
@@ -48,7 +48,7 @@ typedef base::Callback<void(const web_app::ShortcutInf
 #if defined(OS_MACOSX)
 const int kDesiredSizes[] = {16, 32, 128, 256, 512};
 const size_t kNumDesiredSizes = arraysize(kDesiredSizes);
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_BSD)
 // Linux supports icons of any size. FreeDesktop Icon Theme Specification states
 // that "Minimally you should install a 48x48 icon in the hicolor theme."
 const int kDesiredSizes[] = {16, 32, 48, 128, 256, 512};
@@ -472,7 +472,7 @@ void GetIconsInfo(const WebApplicationInfo& app_info,
 }
 #endif
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 std::string GetWMClassFromAppName(std::string app_name) {
   file_util::ReplaceIllegalCharactersInPath(&app_name, '_');
   base::TrimString(app_name, "_", &app_name);
