| Index: Source/modules/gamepad/NavigatorGamepad.cpp
|
| diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| index 4bf9fe16937e18763fb6b4d1a59aefc0ff5fa07d..8aa04555f93f958a5b2d8aefda2827064902f3e8 100644
|
| --- a/Source/modules/gamepad/NavigatorGamepad.cpp
|
| +++ b/Source/modules/gamepad/NavigatorGamepad.cpp
|
| @@ -56,7 +56,7 @@ static void sampleGamepads(GamepadList* into)
|
| gamepad->buttons(webGamepad.buttonsLength, webGamepad.buttons);
|
| into->set(i, gamepad);
|
| } else {
|
| - into->set(i, 0);
|
| + into->set(i, nullptr);
|
| }
|
| }
|
| }
|
|
|