Index: Source/WebCore/page/Console.cpp |
diff --git a/Source/WebCore/page/Console.cpp b/Source/WebCore/page/Console.cpp |
index 37be5dde942a6ff0b3d79ae7ed30972caf53beb3..b0304c3b0479bc2750d2897a4bf62ebee49980c9 100644 |
--- a/Source/WebCore/page/Console.cpp |
+++ b/Source/WebCore/page/Console.cpp |
@@ -187,14 +187,14 @@ void Console::addMessage(MessageType type, MessageLevel level, PassRefPtr<Script |
for (unsigned i = 0; i < arguments->argumentCount(); ++i) { |
String argAsString; |
- if (arguments->argumentAt(i).getString(arguments->globalState(), argAsString)) |
+ if (arguments->argumentGetString(i, argAsString)) |
printf(" %s", argAsString.utf8().data()); |
} |
printf("\n"); |
} |
String message; |
- if (arguments->getFirstArgumentAsString(message)) |
+ if (arguments->argumentToString(0, message)) |
page->chrome()->client()->addMessageToConsole(ConsoleAPIMessageSource, type, level, message, lastCaller.lineNumber(), lastCaller.sourceURL()); |
InspectorInstrumentation::addMessageToConsole(page, ConsoleAPIMessageSource, type, level, message, arguments, callStack); |