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

Unified Diff: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase Created 4 years, 2 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
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.
GamepadList* oldGamepads = m_gamepads.release();
gamepads();
GamepadList* newGamepads = m_gamepads.get();

Powered by Google App Engine
This is Rietveld 408576698