| Index: ppapi/examples/gamepad/gamepad.cc
|
| diff --git a/ppapi/examples/gamepad/gamepad.cc b/ppapi/examples/gamepad/gamepad.cc
|
| index d2b08844ebed669de53dd6a9e5cdb794215c2ac0..bfac65a498d1438c334595ce62af80808d720ba5 100644
|
| --- a/ppapi/examples/gamepad/gamepad.cc
|
| +++ b/ppapi/examples/gamepad/gamepad.cc
|
| @@ -69,6 +69,8 @@ class MyInstance : public pp::Instance {
|
| }
|
|
|
| void OnFlush(int32_t) {
|
| + // This plugin continuously paints because it continously samples the
|
| + // gamepad and paints its updated state.
|
| Paint();
|
| }
|
|
|
| @@ -145,4 +147,3 @@ Module* CreateModule() {
|
| }
|
|
|
| } // namespace pp
|
| -
|
|
|