Remove the Profiler#initialize argument which is effectively now unused

The @root_timing Timing object that it was used with never exposed that
name.
This commit is contained in:
Dylan Thacker-Smith
2020-12-09 10:01:16 -05:00
parent 900e3a6491
commit cb2ad71a31
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ module Liquid
if @profiling && !context.partial
raise "Profiler not loaded, require 'liquid/profiler' first" unless defined?(Liquid::Profiler)
@profiler = Profiler.new(context.template_name)
@profiler = Profiler.new
@profiler.start
begin