summaryrefslogtreecommitdiffstats
path: root/webkit/tools/pepper_test_plugin
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/pepper_test_plugin')
-rw-r--r--webkit/tools/pepper_test_plugin/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/pepper_test_plugin/main.cc b/webkit/tools/pepper_test_plugin/main.cc
index 2bb514d..091eddf 100644
--- a/webkit/tools/pepper_test_plugin/main.cc
+++ b/webkit/tools/pepper_test_plugin/main.cc
@@ -82,7 +82,7 @@ void Log(NPP instance, const char* format, ...) {
browser->getstringidentifier("log"),
&message_variant, 1, &result)) {
fprintf(stderr, "Failed to invoke console.log while logging: %s\n",
- message);
+ message.c_str());
browser->releaseobject(console_object);
browser->releaseobject(window_object);
return;