Remove clear surface related code 50/324850/2
authorzhaosy <shiyusy.zhao@samsung.com>
Wed, 28 May 2025 02:19:50 +0000 (10:19 +0800)
committerzhaosy <shiyusy.zhao@samsung.com>
Wed, 28 May 2025 02:25:06 +0000 (10:25 +0800)
Clear surface is not supported from M108, so remove this unused code

Refer to:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/324851

Change-Id: I7482219ac19bffd329a57bcca3921bcbfb19e59c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt_app/common/web_application_delegate.ts
wrt_app/src/tv/web_application_tv.ts
wrt_app/src/web_application.ts

index de83bbec7114e60bf9d4c3f053ce625713ea7ef4..1d701ce866cb3c7391b68e1b62a6760feffae6b3 100644 (file)
@@ -27,7 +27,6 @@ export class WebApplicationDelegate {
   beforeQuit() { }
   canIgnoreSuspend() { return false; }
   clearCache() { }
-  clearSurface(webContents: any) { }
   focus(webContents: any) { }
   handleAppControlEvent(appControl: any) { return true; }
   handleProxyInfo(authInfo: any, callback: any) { return false; }
index 52f80a61841088f86265512c59df5f1251d772b7..83129550194002eaf5d17450da924167dc49eecf 100644 (file)
@@ -215,10 +215,6 @@ Then you can get profile log from the initial loading.`;
     this.tv.cancelDialogs(this.webApplication.mainWindow.webContents);
   }
 
-  clearSurface(webContents: any) {
-    this.tv.clearSurface(webContents);
-  }
-
   clearCache() {
     console.log('clearcache with low-memory');
     this.webApplication.windowList.forEach((window) => {
index f5449e08553b1394e8df61492a4762327afa371e..f3ef235f21fc38518465ff4ed2e6331ecd119fcb 100644 (file)
@@ -455,7 +455,6 @@ export class WebApplication {
   }
 
   private closeWindows() {
-    this.profileDelegate.clearSurface(this.mainWindow.webContents);
     this.windowList.slice().forEach((window) => {
       if (window != this.mainWindow)
         window.destroy();