| Index: content/child/resource_dispatcher.h
|
| diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
|
| index 6646e3e42909d59b24abcb17eacfd43f292c3ecc..7c8475587b12b298a15f9d27a36d4f39ab0ff655 100644
|
| --- a/content/child/resource_dispatcher.h
|
| +++ b/content/child/resource_dispatcher.h
|
| @@ -146,6 +146,10 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| void SetResourceSchedulingFilter(
|
| scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter);
|
|
|
| + base::WeakPtr<ResourceDispatcher> GetWeakPtr() {
|
| + return weak_factory_.GetWeakPtr();
|
| + }
|
| +
|
| private:
|
| friend class URLResponseBodyConsumer;
|
| friend class ResourceDispatcherTest;
|
|
|