[epiphany] Fixups for previous commit



commit 7764325ee8fad8725223c9ebe67ce92294d2fb94
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Nov 30 15:10:58 2019 -0600

    Fixups for previous commit

 lib/widgets/ephy-location-entry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 79fdd0334..64fcd4038 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -1043,10 +1043,10 @@ free_prefetch_helper (PrefetchHelper *helper)
 static gboolean
 do_dns_prefetch (PrefetchHelper *helper)
 {
+/* FIXME: https://bugs.webkit.org/show_bug.cgi?id=204703 */
+#if WEBKIT_CHECK_VERSION (2, 27, 4)
   EphyEmbedShell *shell = ephy_embed_shell_get_default ();
 
-/* FIXME: https://bugs.webkit.org/show_bug.cgi?id=204703 */
-#if WEBKIT_CHECK_VERSION(2, 27, 4)
   if (helper->uri)
     webkit_web_context_prefetch_dns (ephy_embed_shell_get_web_context (shell), helper->uri->host);
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]