Index: Source/WebCore/inspector/InspectorConsoleAgent.cpp |
diff --git a/Source/WebCore/inspector/InspectorConsoleAgent.cpp b/Source/WebCore/inspector/InspectorConsoleAgent.cpp |
index 82f60448c8cc5f3cdb04ba697c1d01403624e554..d0a6e2300ae65f2b18f16e2afb178af6f51e3d37 100644 |
--- a/Source/WebCore/inspector/InspectorConsoleAgent.cpp |
+++ b/Source/WebCore/inspector/InspectorConsoleAgent.cpp |
@@ -187,7 +187,7 @@ void InspectorConsoleAgent::count(PassRefPtr<ScriptArguments> arguments, PassRef |
// Follow Firebug's behavior of counting with null and undefined title in |
// the same bucket as no argument |
String title; |
- arguments->getFirstArgumentAsString(title); |
+ arguments->argumentToString(0, title); |
String identifier = title + '@' + lastCaller.sourceURL() + ':' + String::number(lastCaller.lineNumber()); |
HashMap<String, unsigned>::iterator it = m_counts.find(identifier); |