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

Unified Diff: src/json-stringifier.h

Issue 11971015: Skip stack trace formatting in case the global object is already dead. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix leaks in the setter. Created 7 years, 11 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 | « src/isolate.cc ('k') | src/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/json-stringifier.h
diff --git a/src/json-stringifier.h b/src/json-stringifier.h
index cec98443a5c628cb103c56e27aec2db4e35a4fb6..6ad2c2bdd1d0eb921082548858d3e6b5374ce65f 100644
--- a/src/json-stringifier.h
+++ b/src/json-stringifier.h
@@ -560,7 +560,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSObject(
} else {
bool has_exception = false;
Handle<FixedArray> contents =
- GetKeysInFixedArrayFor(object, LOCAL_ONLY, &has_exception);
+ GetKeysInFixedArrayFor<true>(object, LOCAL_ONLY, &has_exception);
if (has_exception) return EXCEPTION;
for (int i = 0; i < contents->length(); i++) {
« no previous file with comments | « src/isolate.cc ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698