summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_flash_clipboard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/tests/test_flash_clipboard.cc')
-rw-r--r--ppapi/tests/test_flash_clipboard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/tests/test_flash_clipboard.cc b/ppapi/tests/test_flash_clipboard.cc
index e38c145..8eb756b 100644
--- a/ppapi/tests/test_flash_clipboard.cc
+++ b/ppapi/tests/test_flash_clipboard.cc
@@ -253,7 +253,7 @@ std::string TestFlashClipboard::TestInvalidFormat() {
std::string TestFlashClipboard::TestRegisterCustomFormat() {
// Test an empty name is rejected.
uint32_t format_id =
- pp::flash::Clipboard::RegisterCustomFormat(instance_, "");
+ pp::flash::Clipboard::RegisterCustomFormat(instance_, std::string());
ASSERT_EQ(format_id, PP_FLASH_CLIPBOARD_FORMAT_INVALID);
// Test a valid format name.