Title: [184283] trunk/Source/WebKit2
Revision
184283
Author
[email protected]
Date
2015-05-13 02:13:41 -0700 (Wed, 13 May 2015)

Log Message

REGRESSION(r176631): [EFL] Fullscreen feature doesn't work correctly on MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=144906

Patch by Daegyu Lee <[email protected]> on 2015-05-13
Reviewed by Gyuyoung Kim.

* UIProcess/CoordinatedGraphics/PageViewportController.cpp:
(WebKit::PageViewportController::updateMinimumScaleToFit): Recover the r176631 condition to
call applyScaleAfterRenderingContents function to apply correct scale.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (184282 => 184283)


--- trunk/Source/WebKit2/ChangeLog	2015-05-13 08:26:55 UTC (rev 184282)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-13 09:13:41 UTC (rev 184283)
@@ -1,3 +1,14 @@
+2015-05-13  Daegyu Lee  <[email protected]>
+
+        REGRESSION(r176631): [EFL] Fullscreen feature doesn't work correctly on MiniBrowser
+        https://bugs.webkit.org/show_bug.cgi?id=144906
+
+        Reviewed by Gyuyoung Kim.
+
+        * UIProcess/CoordinatedGraphics/PageViewportController.cpp:
+        (WebKit::PageViewportController::updateMinimumScaleToFit): Recover the r176631 condition to
+        call applyScaleAfterRenderingContents function to apply correct scale.
+
 2015-05-12  Dan Bernstein  <[email protected]>
 
         In Safari, Debug > Get Bytecode Profile crashes the Web Content process

Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/PageViewportController.cpp (184282 => 184283)


--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/PageViewportController.cpp	2015-05-13 08:26:55 UTC (rev 184282)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/PageViewportController.cpp	2015-05-13 09:13:41 UTC (rev 184283)
@@ -347,7 +347,7 @@
         m_minimumScaleToFit = minimumScale;
 
         if (!m_webPageProxy->areActiveDOMObjectsAndAnimationsSuspended()) {
-            if (userInitiatedUpdate && currentlyScaledToFit)
+            if (!m_hadUserInteraction || (userInitiatedUpdate && currentlyScaledToFit))
                 applyScaleAfterRenderingContents(m_minimumScaleToFit);
             else {
                 // Ensure the effective scale stays within bounds.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to