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

Unified Diff: ppapi/shared_impl/input_event_impl.cc

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build and some nacl tests. Created 9 years 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/shared_impl/input_event_impl.cc
diff --git a/ppapi/shared_impl/input_event_impl.cc b/ppapi/shared_impl/input_event_impl.cc
index d502a62f9ec5a4eb8150a0883c0810024f6d5b73..afd82da767b4cebba2f9f1abfc7b3d4b3c0c55fd 100644
--- a/ppapi/shared_impl/input_event_impl.cc
+++ b/ppapi/shared_impl/input_event_impl.cc
@@ -4,7 +4,6 @@
#include "ppapi/shared_impl/input_event_impl.h"
-#include "ppapi/shared_impl/ppapi_globals.h"
#include "ppapi/shared_impl/var.h"
using ppapi::thunk::PPB_InputEvent_API;
@@ -100,9 +99,7 @@ uint32_t InputEventImpl::GetKeyCode() {
}
PP_Var InputEventImpl::GetCharacterText() {
- return StringVar::StringToPPVar(
- PpapiGlobals::Get()->GetModuleForInstance(pp_instance()),
- data_.character_text);
+ return StringVar::StringToPPVar(data_.character_text);
}
uint32_t InputEventImpl::GetIMESegmentNumber() {

Powered by Google App Engine
This is Rietveld 408576698