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

Unified Diff: third_party/protobuf/ruby/ext/google/protobuf_c/upb.c

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years 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: third_party/protobuf/ruby/ext/google/protobuf_c/upb.c
diff --git a/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c b/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c
index 74a2a1db30a325a87695db6428700419d292ba69..544ebc04175aeb3d741ed319a6af8c7d9062b4bb 100644
--- a/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c
+++ b/third_party/protobuf/ruby/ext/google/protobuf_c/upb.c
@@ -11076,8 +11076,8 @@ static bool end_stringval(upb_json_parser *p) {
case UPB_TYPE_STRING: {
upb_selector_t sel = getsel_for_handlertype(p, UPB_HANDLER_ENDSTR);
- upb_sink_endstr(&p->top->sink, sel);
p->top--;
+ upb_sink_endstr(&p->top->sink, sel);
break;
}
@@ -11175,7 +11175,7 @@ static bool parse_mapentry_key(upb_json_parser *p) {
sel = getsel_for_handlertype(p, UPB_HANDLER_STRING);
upb_sink_putstring(&subsink, sel, buf, len, NULL);
sel = getsel_for_handlertype(p, UPB_HANDLER_ENDSTR);
- upb_sink_endstr(&subsink, sel);
+ upb_sink_endstr(&p->top->sink, sel);
multipart_end(p);
break;
}
« no previous file with comments | « third_party/protobuf/ruby/ext/google/protobuf_c/upb.h ('k') | third_party/protobuf/ruby/google-protobuf.gemspec » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698