From ae00234efe0a9f7cbfab65e575ebfa67afffbfdd Mon Sep 17 00:00:00 2001 From: YoungTaeck Song Date: Sat, 13 Jul 2013 17:43:02 +0900 Subject: [PATCH] Don't draw contents to evas image when being background. [Title] Don't draw contents to evas image when being background. [Issue#] N_SE-46030 [Problem] Web Contents is flikering when being foreground. [Cause] When being background, Blank page is drawed to evas image. [Solution] Don't draw contents to evas image in background. Change-Id: I23bdfd983bb8a31c04aea8ad0a70afa4014d053c --- Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp index 0c28a54..b9d11a1 100755 --- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp +++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp @@ -1550,7 +1550,7 @@ void PageClientEvasGL::displayViewport() void PageClientEvasGL::drawContents() { - if (!drawingArea() || !(drawingArea()->layerTreeCoordinatorProxy())) + if (!drawingArea() || !(drawingArea()->layerTreeCoordinatorProxy()) || !m_isVisible) return; WebLayerTreeRenderer* renderer = drawingArea()->layerTreeCoordinatorProxy()->layerTreeRenderer(); -- 2.7.4