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

Unified Diff: ppapi/cpp/core.h

Issue 7349016: Added versioning for PPB_Core::MemAlloc and MemFree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor cleanup Created 9 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
Index: ppapi/cpp/core.h
diff --git a/ppapi/cpp/core.h b/ppapi/cpp/core.h
index 45a90c31351657fe9790c7dfe53f945c61fa0b2b..0b0f3ee4f8364c46101060db2f8cdbb876b4838d 100644
--- a/ppapi/cpp/core.h
+++ b/ppapi/cpp/core.h
@@ -40,24 +40,6 @@ class Core {
interface_->ReleaseResource(resource);
}
- /// MemAlloc() allocates memory.
- ///
- /// @param[in] num_bytes A number of bytes to allocate.
- ///
- /// @return A pointer to the memory if successful, <code>NULL</code> If the
- /// allocation fails.
- void* MemAlloc(uint32_t num_bytes) {
- return interface_->MemAlloc(num_bytes);
- }
-
- /// MemFree() deallocates memory.
- ///
- /// @param[in] ptr A pointer to the memory to deallocate. It is safe to
- /// pass <code>NULL</code> to this function.
- void MemFree(void* ptr) {
- interface_->MemFree(ptr);
- }
-
/// GetTime() returns the "wall clock time" according to the
/// browser.
///

Powered by Google App Engine
This is Rietveld 408576698