| Index: mojo/examples/compositor_app/compositor_app.cc
|
| diff --git a/mojo/examples/compositor_app/compositor_app.cc b/mojo/examples/compositor_app/compositor_app.cc
|
| index 75ca06f706c2bece18ce53b9697b38be45fa00b4..a8ce781721935d67769fcb581ea2c07e1f923b07 100644
|
| --- a/mojo/examples/compositor_app/compositor_app.cc
|
| +++ b/mojo/examples/compositor_app/compositor_app.cc
|
| @@ -62,10 +62,9 @@ class SampleApp : public Application, public NativeViewportClient {
|
| host_->SetSize(bounds.size());
|
| }
|
|
|
| - virtual void OnEvent(const Event& event) OVERRIDE {
|
| - if (!event.location().is_null()) {
|
| - viewport_->AckEvent(event);
|
| - }
|
| + virtual void OnEvent(const Event& event,
|
| + const mojo::Callback<void()>& callback) OVERRIDE {
|
| + callback.Run();
|
| }
|
|
|
| private:
|
|
|