summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/dev/text_input_dev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/dev/text_input_dev.cc')
-rw-r--r--ppapi/cpp/dev/text_input_dev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/cpp/dev/text_input_dev.cc b/ppapi/cpp/dev/text_input_dev.cc
index 3b38df8..657a0b3 100644
--- a/ppapi/cpp/dev/text_input_dev.cc
+++ b/ppapi/cpp/dev/text_input_dev.cc
@@ -54,7 +54,7 @@ TextInput_Dev::~TextInput_Dev() {
void TextInput_Dev::RequestSurroundingText(uint32_t) {
// Default implementation. Send a null range.
- UpdateSurroundingText("", 0, 0);
+ UpdateSurroundingText(std::string(), 0, 0);
}
void TextInput_Dev::SetTextInputType(PP_TextInput_Type type) {