summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 17:24:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 17:24:06 +0000
commit54faad92c35775369abca4308d7d0326c6b2ec88 (patch)
tree4099ad6860860ed423f70c1db036082898fb16c6 /chrome
parenta37e27e9535fc7eafc298d6a36c9694ddac69f2e (diff)
downloadchromium_src-54faad92c35775369abca4308d7d0326c6b2ec88.zip
chromium_src-54faad92c35775369abca4308d7d0326c6b2ec88.tar.gz
chromium_src-54faad92c35775369abca4308d7d0326c6b2ec88.tar.bz2
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
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser.cc16
1 files changed, 0 insertions, 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<char> 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;