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

Unified Diff: components/dom_distiller/core/distiller_url_fetcher.h

Issue 1117703002: Adjust URLFetcher::Create API so that object is returned as scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded Pass() calls Created 5 years, 8 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
Index: components/dom_distiller/core/distiller_url_fetcher.h
diff --git a/components/dom_distiller/core/distiller_url_fetcher.h b/components/dom_distiller/core/distiller_url_fetcher.h
index 4ed91cd1a49205f70f1fdc0fd259e9ca3d43a3c6..b8dd9e50421fb6c6c409d8605877f74e67c84838 100644
--- a/components/dom_distiller/core/distiller_url_fetcher.h
+++ b/components/dom_distiller/core/distiller_url_fetcher.h
@@ -43,7 +43,7 @@ class DistillerURLFetcher : public net::URLFetcherDelegate {
const URLFetcherCallback& callback);
protected:
- virtual net::URLFetcher* CreateURLFetcher(
+ virtual scoped_ptr<net::URLFetcher> CreateURLFetcher(
net::URLRequestContextGetter* context_getter,
const std::string& url);

Powered by Google App Engine
This is Rietveld 408576698