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

Unified Diff: content/browser/webui/web_ui_url_loader_factory.cc

Issue 2906543002: Add support for reading blobs when using the network service. (Closed)
Patch Set: fix threading issue with weakptr Created 3 years, 6 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 | « content/browser/webui/web_ui_url_loader_factory.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_url_loader_factory.cc
diff --git a/content/browser/webui/web_ui_url_loader_factory.cc b/content/browser/webui/web_ui_url_loader_factory.cc
index e85627cb907a43a94f1953113e61b4ba35b30f5f..a730bbad0757d45e4d5c0f6c0c1680f3836f0972 100644
--- a/content/browser/webui/web_ui_url_loader_factory.cc
+++ b/content/browser/webui/web_ui_url_loader_factory.cc
@@ -286,7 +286,7 @@ class WebUIURLLoaderFactory : public mojom::URLLoaderFactory,
} // namespace
-mojom::URLLoaderFactoryPtr GetWebUIURLLoader(FrameTreeNode* node) {
+mojom::URLLoaderFactoryPtr CreateWebUIURLLoader(FrameTreeNode* node) {
int ftn_id = node->frame_tree_node_id();
if (g_factories.Get()[ftn_id].get() == nullptr)
g_factories.Get()[ftn_id] = base::MakeUnique<WebUIURLLoaderFactory>(node);
« no previous file with comments | « content/browser/webui/web_ui_url_loader_factory.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698