Index: ppapi/cpp/dev/text_input_dev.cc |
diff --git a/ppapi/cpp/dev/text_input_dev.cc b/ppapi/cpp/dev/text_input_dev.cc |
index 3b38df893cf0b3672907eabdb815c57e558e6f96..657a0b3f4f82d6418c442a8404c12db3b4738f8c 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) { |