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

Unified Diff: test/cctest/test-serialize.cc

Issue 12820: Remove a couple of instances of wchar_t after counters change. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
===================================================================
--- test/cctest/test-serialize.cc (revision 870)
+++ test/cctest/test-serialize.cc (working copy)
@@ -44,12 +44,12 @@
static int local_counters[256];
static int counter_count = 0;
-static std::map<std::wstring, int> counter_table;
+static std::map<std::string, int> counter_table;
// Callback receiver to track counters in test.
-static int* counter_function(const wchar_t* name) {
- std::wstring counter(name);
+static int* counter_function(const char* name) {
+ std::string counter(name);
if (counter_table.find(counter) == counter_table.end()) {
local_counters[counter_count] = 0;
counter_table[counter] = counter_count++;
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698