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

Unified Diff: runtime/bin/vmstats_impl.h

Issue 13006007: Added string appending to TextBuffer, removed STL use in vm_stats_impl. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months 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 | « no previous file | runtime/bin/vmstats_impl.cc » ('j') | runtime/platform/json.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmstats_impl.h
===================================================================
--- runtime/bin/vmstats_impl.h (revision 20477)
+++ runtime/bin/vmstats_impl.h (working copy)
@@ -8,8 +8,6 @@
#include "bin/vmstats.h"
#include <map>
-#include <sstream>
-#include <string>
#include "bin/isolate_data.h"
#include "platform/thread.h"
@@ -27,7 +25,7 @@
static void RemoveIsolate(IsolateData* isolate_data);
private:
- VmStats() : running_(false), bind_address_(0) {}
+ VmStats() : root_directory_(NULL), running_(false), bind_address_(0) {}
static void WebServer(uword bind_address);
static void Shutdown();
@@ -37,7 +35,7 @@
typedef std::map<IsolateData*, Dart_Isolate> IsolateTable;
- std::string root_directory_;
+ const char* root_directory_;
IsolateTable isolate_table_;
bool running_;
int64_t bind_address_;
« no previous file with comments | « no previous file | runtime/bin/vmstats_impl.cc » ('j') | runtime/platform/json.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698