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

Unified Diff: content/common/gamepad_hardware_buffer.h

Issue 10785024: Revert 146792 - Lock-free GamepadSeqLock (try 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/browser/gamepad/gamepad_provider_unittest.cc ('k') | content/common/gamepad_seqlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gamepad_hardware_buffer.h
===================================================================
--- content/common/gamepad_hardware_buffer.h (revision 146895)
+++ content/common/gamepad_hardware_buffer.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -24,13 +24,10 @@
*/
struct GamepadHardwareBuffer {
- GamepadSeqLock<WebKit::WebGamepads> gamepads;
- GamepadHardwareBuffer();
+ GamepadSeqLock sequence;
+ WebKit::WebGamepads buffer;
};
-inline GamepadHardwareBuffer::GamepadHardwareBuffer() {
}
-}
-
#endif // CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
« no previous file with comments | « content/browser/gamepad/gamepad_provider_unittest.cc ('k') | content/common/gamepad_seqlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698