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

Unified Diff: components/update_client/component.cc

Issue 2883383002: Remove dead code from update_client::Component. (Closed)
Patch Set: Created 3 years, 7 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 | « components/update_client/component.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/component.cc
diff --git a/components/update_client/component.cc b/components/update_client/component.cc
index e83e325ba51eb1b68e3c71fd0bd90ae03d52b913..350f3d093a3df62b1f0205f7888b9bbe51fd9d4f 100644
--- a/components/update_client/component.cc
+++ b/components/update_client/component.cc
@@ -615,8 +615,7 @@ void Component::StateUpdatingDiff::InstallComplete(int error_category,
}
Component::StateUpdating::StateUpdating(Component* component)
- : State(component, ComponentState::kUpdating),
- main_task_runner_(base::ThreadTaskRunnerHandle::Get()) {}
+ : State(component, ComponentState::kUpdating) {}
Component::StateUpdating::~StateUpdating() {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « components/update_client/component.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698