summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/diff/highlight.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/diff/highlight.rb b/lib/gitlab/diff/highlight.rb
index fb79a2a69de..65deea9d335 100644
--- a/lib/gitlab/diff/highlight.rb
+++ b/lib/gitlab/diff/highlight.rb
@@ -140,11 +140,11 @@ module Gitlab
end
def old_lines
- @old_lines ||= self.class.process_file(*processing_args(:old))
+ @old_lines ||= Gitlab::Highlight.highlight_lines(*processing_args(:old))
end
def new_lines
- @new_lines ||= self.class.process_file(*processing_args(:new))
+ @new_lines ||= Gitlab::Highlight.highlight_lines(*processing_args(:new))
end
def longest_common_suffix(a, b)