Index: runtime/platform/text_buffer.h |
diff --git a/runtime/platform/text_buffer.h b/runtime/platform/text_buffer.h |
index 6155cc433d74b499954e4c1c377e2e1c1c93d3b6..973ca7ec38d8fa1db29da6d3c941ea17f3804ae9 100644 |
--- a/runtime/platform/text_buffer.h |
+++ b/runtime/platform/text_buffer.h |
@@ -34,7 +34,7 @@ class TextBuffer : ValueObject { |
// Steal ownership of the buffer pointer. |
// NOTE: TextBuffer is empty afterwards. |
- const char* Steal(); |
+ char* Steal(); |
private: |
void EnsureCapacity(intptr_t len); |