diff --git a/benchmark/xml/lexer/html_bench.rb b/benchmark/xml/lexer/html_bench.rb
index e90d19e..f97f3a1 100644
--- a/benchmark/xml/lexer/html_bench.rb
+++ b/benchmark/xml/lexer/html_bench.rb
@@ -4,6 +4,6 @@ html = read_html
Benchmark.ips do |bench|
bench.report 'lex HTML' do
- Oga::XML::Lexer.new(html, :html => true).lex
+ Oga::XML::Lexer.new(html, :html => true).advance { }
end
end