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

Unified Diff: ppapi/shared_impl/char_set_impl.h

Issue 7349016: Added versioning for PPB_Core::MemAlloc and MemFree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes based on comments from dmichael 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
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/shared_impl/char_set_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/char_set_impl.h
diff --git a/ppapi/shared_impl/char_set_impl.h b/ppapi/shared_impl/char_set_impl.h
index 41411a4f836aad407358f76b047038d2fc7f8f00..48913464dc6fc7ec1e0d4d053db26a86a56b0ab5 100644
--- a/ppapi/shared_impl/char_set_impl.h
+++ b/ppapi/shared_impl/char_set_impl.h
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "ppapi/c/dev/ppb_char_set_dev.h"
-struct PPB_Core;
+struct PPB_Memory_Dev;
namespace ppapi {
@@ -16,14 +16,14 @@ namespace ppapi {
// between the proxy and the renderer.
class CharSetImpl {
public:
- static char* UTF16ToCharSet(const PPB_Core* core,
+ static char* UTF16ToCharSet(const PPB_Memory_Dev* memory,
const uint16_t* utf16,
uint32_t utf16_len,
const char* output_char_set,
PP_CharSet_ConversionError on_error,
uint32_t* output_length);
- static uint16_t* CharSetToUTF16(const PPB_Core* core,
+ static uint16_t* CharSetToUTF16(const PPB_Memory_Dev* memory,
const char* input,
uint32_t input_len,
const char* input_char_set,
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/shared_impl/char_set_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698