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

Unified Diff: services/view_manager/view_manager_service_apptest.cc

Issue 1003773002: CPP bindings: DCHECK when a Callback is destructed without being invoked (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased again Created 5 years, 9 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 | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/view_manager_service_apptest.cc
diff --git a/services/view_manager/view_manager_service_apptest.cc b/services/view_manager/view_manager_service_apptest.cc
index 01bdd0f0c03886b5e4dbffe682c288fc62ff6368..a3bcc26d7b571b3f1c89af0f254589c3e88723cd 100644
--- a/services/view_manager/view_manager_service_apptest.cc
+++ b/services/view_manager/view_manager_service_apptest.cc
@@ -333,6 +333,7 @@ class ViewManagerClientImpl : public mojo::ViewManagerClient,
EventPtr event,
const Callback<void()>& callback) override {
tracker()->OnViewInputEvent(view_id, event.Pass());
+ callback.Run();
}
void OnViewSharedPropertyChanged(uint32_t view,
const String& name,
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698