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

Unified Diff: chrome/browser/extensions/extension_message_service.h

Issue 345058: Fix a memory leak in ExtensionMessageService. (Closed)
Patch Set: accidental change Created 11 years, 1 month 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: chrome/browser/extensions/extension_message_service.h
diff --git a/chrome/browser/extensions/extension_message_service.h b/chrome/browser/extensions/extension_message_service.h
index 0164cd225d977456f9c0953b023d070d88dc9394..cf52b65c3a206e3104c0f3e640d23e573cd34f12 100644
--- a/chrome/browser/extensions/extension_message_service.h
+++ b/chrome/browser/extensions/extension_message_service.h
@@ -9,7 +9,6 @@
#include <set>
#include <string>
-#include "base/linked_ptr.h"
#include "base/lock.h"
#include "base/ref_counted.h"
#include "chrome/common/notification_registrar.h"
@@ -130,7 +129,7 @@ class ExtensionMessageService
private:
// A map of channel ID to its channel object.
- typedef std::map<int, linked_ptr<MessageChannel> > MessageChannelMap;
+ typedef std::map<int, MessageChannel*> MessageChannelMap;
Erik does not do reviews 2009/11/04 17:00:33 I think I'm missing something about the change awa
Matt Perry 2009/11/04 18:47:47 Yes, theoretically. This is the "grasping at straw
// Allocates a pair of port ids.
// NOTE: this can be called from any thread.

Powered by Google App Engine
This is Rietveld 408576698