From 54faad92c35775369abca4308d7d0326c6b2ec88 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 2 Nov 2010 17:24:06 +0000 Subject: Fix Clang build by removing unused function. BUG=none TEST=none Review URL: http://codereview.chromium.org/4313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64760 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 11633d0..3a5d962 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -175,22 +175,6 @@ bool TabHasUnloadListener(TabContents* contents) { !contents->render_view_host()->SuddenTerminationAllowed(); } -// Returns true if two URLs are equal ignoring their ref (hash fragment). -bool CompareURLsIgnoreRef(const GURL& url, const GURL& other) { - if (url == other) - return true; - // If neither has a ref than there is no point in stripping the refs and - // the URLs are different since the comparison failed in the previous if - // statement. - if (!url.has_ref() && !other.has_ref()) - return false; - url_canon::Replacements replacements; - replacements.ClearRef(); - GURL url_no_ref = url.ReplaceComponents(replacements); - GURL other_no_ref = other.ReplaceComponents(replacements); - return url_no_ref == other_no_ref; -} - } // namespace extern bool g_log_bug53991; -- cgit v1.1