mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Convert usage of base::Bind to Once or Repeating (see issue #3140)
This commit is contained in:
@@ -1402,8 +1402,9 @@ class OSRTestHandler : public RoutingTestHandler,
|
||||
void DestroySucceededTestSoon() {
|
||||
if (succeeded())
|
||||
return;
|
||||
if (++event_count_ == event_total_)
|
||||
CefPostTask(TID_UI, base::Bind(&OSRTestHandler::DestroyTest, this));
|
||||
if (++event_count_ == event_total_) {
|
||||
CefPostTask(TID_UI, base::BindOnce(&OSRTestHandler::DestroyTest, this));
|
||||
}
|
||||
}
|
||||
|
||||
void DestroyTest() override {
|
||||
|
Reference in New Issue
Block a user