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

Unified Diff: content/shell/browser/layout_test/layout_test_permission_manager.h

Issue 2496653002: Part 2 of base::IDMap refactor to eliminate IDMapOwnPointer/IDMapExternalPointer modes (Closed)
Patch Set: typedefs => using statements, update comments in base/id_map.h Created 4 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
Index: content/shell/browser/layout_test/layout_test_permission_manager.h
diff --git a/content/shell/browser/layout_test/layout_test_permission_manager.h b/content/shell/browser/layout_test/layout_test_permission_manager.h
index 13ed34b776a3a74f7b4a3da8fa45524b4dfa9e62..b2245d724bcb88ae90be5b9a64529b3b043ce225 100644
--- a/content/shell/browser/layout_test/layout_test_permission_manager.h
+++ b/content/shell/browser/layout_test/layout_test_permission_manager.h
@@ -84,7 +84,7 @@ class LayoutTestPermissionManager : public PermissionManager {
};
struct Subscription;
- using SubscriptionsMap = IDMap<Subscription, IDMapOwnPointer>;
+ using SubscriptionsMap = IDMap<std::unique_ptr<Subscription>>;
using PermissionsMap = base::hash_map<PermissionDescription,
blink::mojom::PermissionStatus,
PermissionDescription::Hash>;

Powered by Google App Engine
This is Rietveld 408576698