Support for external link for <content > tag in config.xml
authorJongHeon Choi <j-h.choi@samsung.com>
Mon, 16 May 2016 08:39:30 +0000 (17:39 +0900)
committerJongHeon Choi <j-h.choi@samsung.com>
Mon, 16 May 2016 08:39:42 +0000 (17:39 +0900)
common/resource_manager.cc

index c00d965..d0b1853 100644 (file)
@@ -219,9 +219,8 @@ ResourceManager::GetDefaultResource() {
   }
 
   // Check that tizen:content src is external page
-  if (content_info && content_info->is_tizen_content()
-      && (utils::StartsWith(src, kSchemeTypeHttp) ||
-          utils::StartsWith(src, kSchemeTypeHttps))) {
+  if (utils::StartsWith(src, kSchemeTypeHttp) ||
+      utils::StartsWith(src, kSchemeTypeHttps)) {
     LOGGER(DEBUG) << "tizen content_info's src is an external page";
     return std::unique_ptr<Resource>(new Resource(src, type, encoding));
   }