commit | d16d21967cf0f3ce56953762af7a8125de81aebf | [log] [tgz] |
---|---|---|
author | tzik <[email protected]> | Wed Mar 07 08:58:36 2018 |
committer | Commit Bot <[email protected]> | Wed Mar 07 08:58:36 2018 |
tree | 1807f9e8259c6720e1676481b7d71a70f174f8fa | |
parent | fc32fa02412aad6ed44a928917b1ae56f0f4eb72 [diff] [blame] |
Migrate //sql from base::Callback to base::RepeatingCallback This updates //sql to use base::RepeatingCallback instead of legacy base::Callback. No intended functional change is included. This reduces the number of 'base::Bind' in //sql from 19 to 1 as tracked at http://goo.gl/LUVhDj Bug: 714018 Change-Id: I4b6b321e25f2b3db7ab7ac3e09d9ee74761db230 Reviewed-on: https://chromium-review.googlesource.com/952116 Commit-Queue: Victor Costan <[email protected]> Reviewed-by: Victor Costan <[email protected]> Cr-Commit-Position: refs/heads/master@{#541388}
diff --git a/sql/sqlite_features_unittest.cc b/sql/sqlite_features_unittest.cc index 867fe10..6585ce0 100644 --- a/sql/sqlite_features_unittest.cc +++ b/sql/sqlite_features_unittest.cc
@@ -54,7 +54,7 @@ // The error delegate will set |error_| and |sql_text_| when any sqlite // statement operation returns an error code. db().set_error_callback( - base::Bind(&CaptureErrorCallback, &error_, &sql_text_)); + base::BindRepeating(&CaptureErrorCallback, &error_, &sql_text_)); } void TearDown() override {