Commit e73e3ec2 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Revert "Crazy workaround for https://bugs.webkit.org/show_bug.cgi?id=194663"

This reverts commit 9db8aebe.
parent af0916a6
Pipeline #78745 passed with stage
in 12 minutes and 56 seconds
......@@ -126,16 +126,11 @@ class Container(Gtk.Overlay):
# Check for expose because we will be unable to get snapshot as
# window is not visible
if loading_type == LoadingType.FOREGROUND and not self.in_expose:
previous = self.current
if previous is not None:
self.__stack.remove(previous)
self.__current = view
self.__stack.add(view)
self.__pages_manager.update_visible_child()
self.__sites_manager.update_visible_child()
self.__stack.set_visible_child(view)
if previous is not None:
self.__stack.add(previous)
elif loading_type in [LoadingType.BACKGROUND, LoadingType.OFFLOAD] or\
self.in_expose:
# This allow us to get real size snapshot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment