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

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: 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 | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47197fe216a14e3e62d8788813baa991e4cc3815..28d9101d5700a35ef07d669cacbf7771982eeda3 100644
--- a/webkit/plugins/ppapi/ppb_char_set_impl.cc
+++ b/webkit/plugins/ppapi/ppb_char_set_impl.cc
@@ -1,10 +1,11 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#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);
}
« no previous file with comments | « 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