This patch fixes crash observed in webapp when FullScreen request was
called.
Change-Id: Idde2dc67627b5e09fd47c8204f171895d506010b
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
FullscreenInternalOption option,
content::RenderFrameHost* requesting_frame,
int64_t display_id) {
-#if !BUILDFLAG(IS_MAC)
+#if !BUILDFLAG(IS_MAC) && !defined(ENABLE_WRT_JS)
// Do not enter fullscreen mode if disallowed by pref. This prevents the user
// from manually entering fullscreen mode and also disables kiosk mode on
// desktop platforms.