fixup! [M120 Migration] Add new api for webbrowser to get media device list
[platform/framework/web/chromium-efl.git] / tizen_src / chromium_impl / media / filters / esplusplayer_util.cc
index 6d62cd9..1e42c3d 100644 (file)
@@ -219,9 +219,13 @@ gfx::Size GetDynamicMaxCodecResolution() {
   int max_width = 0;
   int max_height = 0;
   int max_framerate = 0;
+#if !defined(BUILD_CHROME)
   std::string app_id =
       base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
           switches::kTizenAppId);
+#else
+  std::string app_id = "";
+#endif
 
   // resource center returns decodeer ability not resolution (ex.1088)
   // http://wiki.vd.sec.samsung.net/display/OSS/02.+Max+Resolution