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

Unified Diff: device/gamepad/gamepad_shared_buffer.cc

Issue 2808093006: [Device Service] Move Gamepad Blink headers to be part of the Gamepad client library (Closed)
Patch Set: rebase and address comments Created 3 years, 8 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 | « device/gamepad/gamepad_shared_buffer.h ('k') | device/gamepad/gamepad_standard_mappings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/gamepad/gamepad_shared_buffer.cc
diff --git a/device/gamepad/gamepad_shared_buffer.cc b/device/gamepad/gamepad_shared_buffer.cc
index 66ada779f1ed0e214efa2cd301ecb897860bec92..a8c2216110c6a5810fd8e9b922f51daf04dc401b 100644
--- a/device/gamepad/gamepad_shared_buffer.cc
+++ b/device/gamepad/gamepad_shared_buffer.cc
@@ -14,7 +14,7 @@ GamepadSharedBuffer::GamepadSharedBuffer() {
void* mem = shared_memory_.memory();
DCHECK(mem);
hardware_buffer_ = new (mem) GamepadHardwareBuffer();
- memset(&(hardware_buffer_->data), 0, sizeof(blink::WebGamepads));
+ memset(&(hardware_buffer_->data), 0, sizeof(Gamepads));
}
GamepadSharedBuffer::~GamepadSharedBuffer() {}
@@ -23,7 +23,7 @@ base::SharedMemory* GamepadSharedBuffer::shared_memory() {
return &shared_memory_;
}
-blink::WebGamepads* GamepadSharedBuffer::buffer() {
+Gamepads* GamepadSharedBuffer::buffer() {
return &(hardware_buffer()->data);
}
« no previous file with comments | « device/gamepad/gamepad_shared_buffer.h ('k') | device/gamepad/gamepad_standard_mappings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698