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

Unified Diff: src/json-stringifier.cc

Issue 1995263002: [keys] Simplify KeyAccumulator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebasing Created 4 years, 7 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
Index: src/json-stringifier.cc
diff --git a/src/json-stringifier.cc b/src/json-stringifier.cc
index cc859929d79db46a6114f705ebe4df7f94c2e1c1..68253a60af07c4928d73e0e00226b0184306fd31 100644
--- a/src/json-stringifier.cc
+++ b/src/json-stringifier.cc
@@ -465,7 +465,7 @@ BasicJsonStringifier::Result BasicJsonStringifier::SerializeJSReceiverSlow(
Handle<FixedArray> contents;
ASSIGN_RETURN_ON_EXCEPTION_VALUE(
isolate_, contents,
- JSReceiver::GetKeys(object, OWN_ONLY, ENUMERABLE_STRINGS), EXCEPTION);
+ KeyAccumulator::GetKeys(object, OWN_ONLY, ENUMERABLE_STRINGS), EXCEPTION);
builder_.AppendCharacter('{');
Indent();

Powered by Google App Engine
This is Rietveld 408576698