Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: chrome/browser/android/offline_pages/offline_page_utils.cc

Issue 2542503002: [Offline pages] Fixing OfflinePageUtis::EqualsIgnoringFragment (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/offline_page_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/offline_page_utils.cc
diff --git a/chrome/browser/android/offline_pages/offline_page_utils.cc b/chrome/browser/android/offline_pages/offline_page_utils.cc
index 44ed114dff55ccdcb42064dd2e8e22d6e9266330..3e0660c56ff169b1f696f04d4a59b3602b431871 100644
--- a/chrome/browser/android/offline_pages/offline_page_utils.cc
+++ b/chrome/browser/android/offline_pages/offline_page_utils.cc
@@ -167,7 +167,7 @@ bool OfflinePageUtils::EqualsIgnoringFragment(const GURL& lhs,
remove_params.ClearRef();
GURL lhs_stripped = lhs.ReplaceComponents(remove_params);
- GURL rhs_stripped = lhs.ReplaceComponents(remove_params);
+ GURL rhs_stripped = rhs.ReplaceComponents(remove_params);
return lhs_stripped == rhs_stripped;
}
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/offline_page_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698