diff --git a/src/ng/sce.js b/src/ng/sce.js index 60356097c9c0..ca54b58fcc41 100644 --- a/src/ng/sce.js +++ b/src/ng/sce.js @@ -131,12 +131,6 @@ function $SceDelegateProvider() { return resourceUrlBlacklist; }; - // Helper functions for matching resource urls by policy. - function isCompatibleProtocol(documentProtocol, resourceProtocol) { - return ((documentProtocol === resourceProtocol) || - (documentProtocol === "http:" && resourceProtocol === "https:")); - } - this.$get = ['$log', '$document', '$injector', '$$urlUtils', function( $log, $document, $injector, $$urlUtils) {