Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: Source/WebCore/page/Console.cpp

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698