Bug 1500719 - Ensure toolbar is hidden when going fullscreen r=botond a=pascalc
authorRandall Barker <rbarker@mozilla.com>
Thu, 21 Mar 2019 23:39:59 +0000
changeset 525804 b98051a74254284a3479e0ae2136368ea3ac596c
parent 525803 d8560229d39e4c25dc5f34e7852ef8bcb91a7f96
child 525805 169d315489fe1d36d19587c7a07b47f9ce8eebb0
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond, pascalc
bugs1500719
milestone67.0
Bug 1500719 - Ensure toolbar is hidden when going fullscreen r=botond a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D24348
gfx/layers/apz/src/AndroidDynamicToolbarAnimator.cpp
--- a/gfx/layers/apz/src/AndroidDynamicToolbarAnimator.cpp
+++ b/gfx/layers/apz/src/AndroidDynamicToolbarAnimator.cpp
@@ -1001,16 +1001,17 @@ void AndroidDynamicToolbarAnimator::Noti
     return;
   }
 
   if (mControllerState == eAnimationStopPending) {
     mControllerState = eNothingPending;
   }
 
   mControllerToolbarHeight = aHeight;
+  RequestComposite();
 }
 
 void AndroidDynamicToolbarAnimator::RequestComposite() {
   if (!CompositorThreadHolder::IsInCompositorThread()) {
     CompositorThreadHolder::Loop()->PostTask(NewRunnableMethod(
         "AndroidDynamicToolbarAnimator::RequestComposite", this,
         &AndroidDynamicToolbarAnimator::RequestComposite));
     return;