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

Unified Diff: content/child/navigator_connect/navigator_connect_provider.h

Issue 827953002: Make NavigatorConnectProvider finalize its owned callback objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/navigator_connect/navigator_connect_provider.h
diff --git a/content/child/navigator_connect/navigator_connect_provider.h b/content/child/navigator_connect/navigator_connect_provider.h
index cb4bb5199688b0527aea5a49428df8d2b6d550b8..8bbea30b8aa56cc6f264104dea0757d57e255191 100644
--- a/content/child/navigator_connect/navigator_connect_provider.h
+++ b/content/child/navigator_connect/navigator_connect_provider.h
@@ -69,7 +69,7 @@ class NavigatorConnectProvider : public blink::WebNavigatorConnectProvider,
scoped_refptr<ThreadSafeSender> thread_safe_sender_;
scoped_refptr<base::SingleThreadTaskRunner> main_loop_;
typedef blink::WebCallbacks<void, void> ConnectCallback;
- IDMap<ConnectCallback> requests_;
+ IDMap<ConnectCallback, IDMapOwnPointer> requests_;
DISALLOW_COPY_AND_ASSIGN(NavigatorConnectProvider);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698