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

Unified Diff: ppapi/cpp/core.h

Issue 6711047: Fix up some types in the API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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: ppapi/cpp/core.h
diff --git a/ppapi/cpp/core.h b/ppapi/cpp/core.h
index 50c89d5af0d4ad3092638be27d859517599e5dfd..138c83203a7048051ccce8a892b8f7cb91e5c314 100644
--- a/ppapi/cpp/core.h
+++ b/ppapi/cpp/core.h
@@ -27,10 +27,10 @@ class Core {
interface_->ReleaseResource(resource);
}
- void* MemAlloc(size_t num_bytes) {
dmichael(do not use this one) 2011/03/21 21:53:24 size_t is 8 bytes on Linux 64. It sounds like we'
neb 2011/03/21 22:16:15 Yeah, we talked about it a bit. We currently seria
+ void* MemAlloc(uint32_t num_bytes) {
return interface_->MemAlloc(num_bytes);
}
- void MemFree(void* ptr) {
+ void MemFree(const void* ptr) {
interface_->MemFree(ptr);
}

Powered by Google App Engine
This is Rietveld 408576698