Fix presubmit checks after r11223
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Apr 2012 14:33:03 +0000 (14:33 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Apr 2012 14:33:03 +0000 (14:33 +0000)
TBR=mnaganov
Review URL: https://chromiumcodereview.appspot.com/9961008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11226 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/profile-generator.cc

index 09d9f98..c81354f 100644 (file)
@@ -3510,7 +3510,7 @@ int HeapSnapshotJSONSerializer::GetStringId(const char* s) {
 
 // This function won't work correctly for MIN_INT but this is not
 // a problem in case of heap snapshots serialization.
-static int itoa(int value, Vector<char>& buffer, int buffer_pos) {
+static int itoa(int value, const Vector<char>& buffer, int buffer_pos) {
   if (value < 0) {
     buffer[buffer_pos++] = '-';
     value = -value;