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

Unified Diff: src/v8utils.h

Issue 4535004: Fix bug introduced when extracting utils. (Closed)
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8utils.h
diff --git a/src/v8utils.h b/src/v8utils.h
index 3f272dd32e0ffa304ef761ceea6e260df30bf656..a907c9f55632d2a7cfc04d77e94c005bdf8d1b14 100644
--- a/src/v8utils.h
+++ b/src/v8utils.h
@@ -184,7 +184,7 @@ class StringBuilder {
StringBuilder(char* buffer, int size)
: buffer_(buffer, size), position_(0) { }
- ~StringBuilder() { if (!is_finalized()) buffer_.Dispose(); }
+ ~StringBuilder() { if (!is_finalized()) Finalize(); }
int size() const { return buffer_.length(); }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698