Chromium Code Reviews| Index: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
| diff --git a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
| index cf3686b3fe2bea6b0e4a11412b36aa04b3566e9e..5283fd87c1623bf4baa3c62728a5a2c12b232379 100644 |
| --- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
| +++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp |
| @@ -125,7 +125,8 @@ void NavigatorGamepad::didUpdateData() { |
| DCHECK(document->frame()); |
| DCHECK(document->frame()->domWindow()); |
| - // We register to the dispatcher before sampling gamepads so we need to check if we actually have an event listener. |
| + // We register to the dispatcher before sampling gamepads so we need to check |
| + // if we actually have an event listener. |
| if (!m_hasEventListener) |
| return; |
| @@ -245,8 +246,8 @@ void NavigatorGamepad::pageVisibilityChanged() { |
| if (!visible || !m_hasEventListener) |
| return; |
| - // Tell the page what has changed. m_gamepads contains the state before we became hidden. |
| - // We create a new snapshot and compare them. |
| + // Tell the page what has changed. m_gamepads contains the state before we |
| + // became hidden. We create a new snapshot and compare them. |
|
jsbell
2016/10/04 20:10:30
Two spaces here is unexpected - intentional style
Nico
2016/10/04 20:16:01
I use vim's gq to join lines manually, and it defa
|
| GamepadList* oldGamepads = m_gamepads.release(); |
| gamepads(); |
| GamepadList* newGamepads = m_gamepads.get(); |