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

Unified Diff: content/browser/download/download_manager_impl_unittest.cc

Issue 2421383003: Add operator==(const GURL&, const StringPiece&) to gurl.h (Closed)
Patch Set: remove comment Created 4 years, 2 months 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 | « components/power/origin_power_map_unittest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_manager_impl_unittest.cc
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc
index 1c56e0c0f2db874f894c4a77eeeccf2e5f905a95..0bca25ce5dc45d939b8755f3fcf3b24c51bb1d6e 100644
--- a/content/browser/download/download_manager_impl_unittest.cc
+++ b/content/browser/download/download_manager_impl_unittest.cc
@@ -767,7 +767,8 @@ TEST_F(DownloadManagerTest, GetDownloadByGuid) {
namespace {
base::Callback<bool(const GURL&)> GetSingleURLFilter(const GURL& url) {
- return base::Bind(&GURL::operator==, base::Owned(new GURL(url)));
+ return base::Bind(static_cast<bool (*)(const GURL&, const GURL&)>(operator==),
+ GURL(url));
}
} // namespace
« no previous file with comments | « components/power/origin_power_map_unittest.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698