[M120] Fix build break for chrome 57/306857/6
authorAkshay Kanagali <a.kanagali@partner.samsung.com>
Wed, 28 Feb 2024 09:17:04 +0000 (14:47 +0530)
committerBot Blink <blinkbot@samsung.com>
Thu, 29 Feb 2024 06:37:10 +0000 (06:37 +0000)
This patch fix chrome build issues occured by recent commits.
It also disables autofill for chrome build.

Change-Id: I9eb0b280057976de9c35faa125cf64cac9716121
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
tizen_src/build/config/tizen_features.gni
ui/events/platform/platform_event_source.cc

index 7fc0da6..06cbe65 100644 (file)
@@ -73,7 +73,7 @@ declare_args() {
   tizen_thread_booster_service = false
 }
 
-if (is_tizen) {
+if (is_tizen && !build_chrome) {
   tizen_autofill = true
   if (tizen_product_tv) {
     tizen_autofill_fw = true
index 109786f..16e993d 100644 (file)
@@ -15,7 +15,7 @@
 
 #if BUILDFLAG(IS_TIZEN_TV)
 #include "base/logging.h"
-#include "tizen_src/ewk/efl_integration/common/application_type.h"
+#include "third_party/blink/public/platform/web_application_type.h"
 #include "ui/events/event.h"
 #endif
 
@@ -97,7 +97,7 @@ uint32_t PlatformEventSource::DispatchEvent(PlatformEvent platform_event) {
   if (action & POST_DISPATCH_PERFORM_DEFAULT) {
     for (PlatformEventDispatcher& dispatcher : dispatchers_) {
 #if BUILDFLAG(IS_TIZEN_TV)
-      if (content::IsHbbTV() && platform_event->IsKeyEvent()) {
+      if (blink::IsHbbTV() && platform_event->IsKeyEvent()) {
         if ((&dispatcher) == platform_event->GetDispatcher()) {
           LOG(INFO) << "Dispatching event through dispatcher : "
                     << (&dispatcher);