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

Unified Diff: extensions/browser/event_router.cc

Issue 2323993004: Remove use of deprecated base::ListValue::Append(Value*) overload in extensions. (Closed)
Patch Set: ... I hate C++ Created 4 years, 3 months 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 | « extensions/browser/computed_hashes.cc ('k') | extensions/browser/script_executor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « extensions/browser/computed_hashes.cc ('k') | extensions/browser/script_executor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698