[epiphany] uri-tester: HTTPS Everywhere context is now always initialized



commit 1aa5e8133c923febd52651b91ebd1c2f2d68a824
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Dec 22 12:52:39 2016 -0600

    uri-tester: HTTPS Everywhere context is now always initialized
    
    We no longer process http:// URIs before initializing the HTTPS
    Everywhere context, so this check is no longer needed: it's guaranteed
    to pass.

 embed/web-extension/ephy-uri-tester.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-uri-tester.c b/embed/web-extension/ephy-uri-tester.c
index 9f88025..63d913f 100644
--- a/embed/web-extension/ephy-uri-tester.c
+++ b/embed/web-extension/ephy-uri-tester.c
@@ -606,7 +606,7 @@ ephy_uri_tester_rewrite_uri (EphyUriTester    *tester,
   }
 
 #ifdef HAVE_LIBHTTPSEVERYWHERE
-  if ((flags & EPHY_URI_TEST_HTTPS_EVERYWHERE) && https_everywhere_context_get_initialized 
(tester->https_everywhere_context))
+  if (flags & EPHY_URI_TEST_HTTPS_EVERYWHERE)
     return https_everywhere_context_rewrite (tester->https_everywhere_context, request_uri);
 #endif
 


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