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

Unified Diff: webkit/plugins/ppapi/ppb_char_set_impl.cc

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: webkit/plugins/ppapi/ppb_char_set_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_char_set_impl.cc b/webkit/plugins/ppapi/ppb_char_set_impl.cc
index 496e339bb7a0fc909b2587c0733c300af4b76fa9..e0792c296dc3c14b60eb91cc1f8e490aa29becd3 100644
--- a/webkit/plugins/ppapi/ppb_char_set_impl.cc
+++ b/webkit/plugins/ppapi/ppb_char_set_impl.cc
@@ -5,6 +5,7 @@
#include "webkit/plugins/ppapi/ppb_char_set_impl.h"
#include "ppapi/c/dev/ppb_char_set_dev.h"
+#include "ppapi/c/dev/ppb_memory_dev.h"
#include "ppapi/shared_impl/char_set_impl.h"
#include "webkit/plugins/ppapi/plugin_delegate.h"
#include "webkit/plugins/ppapi/plugin_module.h"
@@ -35,7 +36,7 @@ char* PPB_CharSet_Impl::UTF16ToCharSet(PP_Instance instance,
PP_CharSet_ConversionError on_error,
uint32_t* output_length) {
return ::ppapi::CharSetImpl::UTF16ToCharSet(
- PluginModule::GetCore(), utf16, utf16_len, output_char_set, on_error,
+ PluginModule::GetMemoryDev(), utf16, utf16_len, output_char_set, on_error,
output_length);
}
@@ -46,7 +47,7 @@ uint16_t* PPB_CharSet_Impl::CharSetToUTF16(PP_Instance instance,
PP_CharSet_ConversionError on_error,
uint32_t* output_length) {
return ::ppapi::CharSetImpl::CharSetToUTF16(
- PluginModule::GetCore(), input, input_len, input_char_set, on_error,
+ PluginModule::GetMemoryDev(), input, input_len, input_char_set, on_error,
output_length);
}
« ppapi/proxy/ppb_core_proxy.cc ('K') | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698