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

Unified Diff: chrome/browser/extensions/api/usb/usb_device_resource.cc

Issue 10815024: Revert 147594 - NaCl: Remove two uses of '#include "nacl/nacl_log.h"' (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 | « chrome/browser/extensions/api/serial/serial_api.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/usb/usb_device_resource.cc
===================================================================
--- chrome/browser/extensions/api/usb/usb_device_resource.cc (revision 147600)
+++ chrome/browser/extensions/api/usb/usb_device_resource.cc (working copy)
@@ -101,7 +101,7 @@
}
} else if (input.direction == kDirectionOut) {
if (input.data.get()) {
- *output = input.data->GetSize();
+ *output = input.data->size();
return true;
}
}
@@ -120,7 +120,7 @@
return buffer;
}
- memcpy(buffer->data(), input.data->GetBuffer(), size);
+ memcpy(buffer->data(), input.data->data(), size);
return buffer;
}
« no previous file with comments | « chrome/browser/extensions/api/serial/serial_api.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698