From ee3a3191cda5faae5dcc9cd1526292c57f2be343 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Sat, 25 May 2013 10:35:01 -0700 Subject: Updated benchmarks to new API. --- benchmarks/parsetoproto2.upb.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks/parsetoproto2.upb.cc') diff --git a/benchmarks/parsetoproto2.upb.cc b/benchmarks/parsetoproto2.upb.cc index 4ad1faa..699b521 100644 --- a/benchmarks/parsetoproto2.upb.cc +++ b/benchmarks/parsetoproto2.upb.cc @@ -35,7 +35,7 @@ static bool initialize() pipeline.DonateRef(h, &h); pipeline.DonateRef(h2, &h2); - upb::pb::Decoder* d = decoder_sink->top()->GetUserdata(); + upb::pb::Decoder* d = decoder_sink->GetObject(); upb::pb::ResetDecoderSink(d, proto2_sink); return true; -- cgit v1.2.3