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

Unified Diff: Source/WebCore/inspector/InspectorConsoleAgent.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/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);

Powered by Google App Engine
This is Rietveld 408576698