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

Unified Diff: components/history/core/browser/history_backend.cc

Issue 2283373002: Remove unneeded scoped_refptr<>::get() on method binding (Closed)
Patch Set: Created 4 years, 4 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 | « chrome/utility/profile_import_handler.cc ('k') | components/history/core/browser/history_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_backend.cc
diff --git a/components/history/core/browser/history_backend.cc b/components/history/core/browser/history_backend.cc
index 431eb37ba7507dba003f6933a0711812f5730397..033a9b1606cb52c5c57d653019cfbd04a47fe7f3 100644
--- a/components/history/core/browser/history_backend.cc
+++ b/components/history/core/browser/history_backend.cc
@@ -2229,7 +2229,7 @@ void HistoryBackend::ScheduleCommit() {
scheduled_commit_ = new CommitLaterTask(this);
task_runner_->PostDelayedTask(
FROM_HERE,
- base::Bind(&CommitLaterTask::RunCommit, scheduled_commit_.get()),
+ base::Bind(&CommitLaterTask::RunCommit, scheduled_commit_),
base::TimeDelta::FromSeconds(kCommitIntervalSeconds));
}
« no previous file with comments | « chrome/utility/profile_import_handler.cc ('k') | components/history/core/browser/history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698