Index: extensions/browser/event_router.cc |
diff --git a/extensions/browser/event_router.cc b/extensions/browser/event_router.cc |
index 24ac5756f849fbfb64aadef7a2aa9e8b970967c5..60bd11c2c89c210c14c1c290c8f1e1d8f793d4e4 100644 |
--- a/extensions/browser/event_router.cc |
+++ b/extensions/browser/event_router.cc |
@@ -414,7 +414,7 @@ void EventRouter::AddFilterToEvent(const std::string& event_name, |
filtered_events->SetWithoutPathExpansion(event_name, filter_list); |
} |
- filter_list->Append(filter->DeepCopy()); |
+ filter_list->Append(filter->CreateDeepCopy()); |
} |
void EventRouter::RemoveFilterFromEvent(const std::string& event_name, |