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

Unified Diff: ppapi/cpp/dev/buffer_dev.h

Issue 5410001: Change trusted shared memory interface to match audio.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « ppapi/c/trusted/ppb_image_data_trusted.h ('k') | ppapi/cpp/dev/buffer_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/buffer_dev.h
===================================================================
--- ppapi/cpp/dev/buffer_dev.h (revision 67614)
+++ ppapi/cpp/dev/buffer_dev.h (working copy)
@@ -18,19 +18,19 @@
// Allocates a new Buffer in the browser with the given size. The
// resulting object will be is_null() if the allocation failed.
- explicit Buffer_Dev(int32_t size);
+ explicit Buffer_Dev(uint32_t size);
~Buffer_Dev();
Buffer_Dev& operator=(const Buffer_Dev& other);
void swap(Buffer_Dev& other);
- int32_t size() const { return size_; }
+ uint32_t size() const { return size_; }
void* data() const { return data_; }
private:
void* data_;
- int32_t size_;
+ uint32_t size_;
};
} // namespace pp
« no previous file with comments | « ppapi/c/trusted/ppb_image_data_trusted.h ('k') | ppapi/cpp/dev/buffer_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698