Index: ppapi/proxy/ppp_text_input_proxy.cc |
diff --git a/ppapi/proxy/ppp_text_input_proxy.cc b/ppapi/proxy/ppp_text_input_proxy.cc |
index 061b73cd4fdb56889da9afdb6320d0c1b10dbcdc..c4fb92263d44a89501a8110ca3d3f7260a3298c6 100644 |
--- a/ppapi/proxy/ppp_text_input_proxy.cc |
+++ b/ppapi/proxy/ppp_text_input_proxy.cc |
@@ -4,7 +4,7 @@ |
#include "ppapi/proxy/ppp_text_input_proxy.h" |
-#include "ppapi/c/dev/ppp_text_input_dev.h" |
+#include "ppapi/c/ppp_text_input.h" |
#include "ppapi/proxy/host_dispatcher.h" |
#include "ppapi/proxy/ppapi_messages.h" |
#include "ppapi/shared_impl/proxy_lock.h" |
@@ -29,18 +29,18 @@ void RequestSurroundingText(PP_Instance instance, |
API_ID_PPP_TEXT_INPUT, instance, desired_number_of_characters)); |
} |
-const PPP_TextInput_Dev g_ppp_text_input_thunk = { |
+const PPP_TextInput g_ppp_text_input_thunk = { |
&RequestSurroundingText |
}; |
#else |
// The NaCl plugin doesn't need the host side interface - stub it out. |
-static const PPP_TextInput_Dev g_ppp_text_input_thunk = {}; |
+static const PPP_TextInput g_ppp_text_input_thunk = {}; |
#endif // !defined(OS_NACL) |
} // namespace |
// static |
-const PPP_TextInput_Dev* PPP_TextInput_Proxy::GetProxyInterface() { |
+const PPP_TextInput* PPP_TextInput_Proxy::GetProxyInterface() { |
return &g_ppp_text_input_thunk; |
} |
@@ -48,8 +48,8 @@ PPP_TextInput_Proxy::PPP_TextInput_Proxy(Dispatcher* dispatcher) |
: InterfaceProxy(dispatcher), |
ppp_text_input_impl_(NULL) { |
if (dispatcher->IsPlugin()) { |
- ppp_text_input_impl_ = static_cast<const PPP_TextInput_Dev*>( |
- dispatcher->local_get_interface()(PPP_TEXTINPUT_DEV_INTERFACE)); |
+ ppp_text_input_impl_ = static_cast<const PPP_TextInput*>( |
+ dispatcher->local_get_interface()(PPP_TEXTINPUT_INTERFACE)); |
} |
} |