From bc0dc557318507dce4f85751487d67133bad744b Mon Sep 17 00:00:00 2001 From: Yoshifumi Inoue Date: Fri, 15 Oct 2021 08:14:12 +0000 Subject: [PATCH] Rename local varaible name to font_cache_purge_preventer This patch changes local variable name |fontCachePurgePreventer|[1] to |font_cache_purge_preventer| to follow coding style. This is follow-up of the CL[1]. [1] http://crrev.com/c/1969290: Prevent purging FontCache in SetTextWithOffset Bug: 982194 Change-Id: I31734397fea274d3665c7bdb15d03ea8a01c1574 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3225839 Commit-Queue: Yoshifumi Inoue Commit-Queue: Kent Tamura Auto-Submit: Yoshifumi Inoue Reviewed-by: Kent Tamura Cr-Commit-Position: refs/heads/main@{#931922} NOKEYCHECK=True GitOrigin-RevId: 08f15f837fa85bc4f33e1097769e932417c9c6a4 --- blink/renderer/core/layout/ng/inline/ng_inline_node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blink/renderer/core/layout/ng/inline/ng_inline_node.cc b/blink/renderer/core/layout/ng/inline/ng_inline_node.cc index 6ed3a40c3e8..7ca5d45033a 100644 --- a/blink/renderer/core/layout/ng/inline/ng_inline_node.cc +++ b/blink/renderer/core/layout/ng/inline/ng_inline_node.cc @@ -914,7 +914,7 @@ bool NGInlineNode::SetTextWithOffset(LayoutText* layout_text, // This function runs outside of the layout phase. Prevent purging font cache // while shaping. - FontCachePurgePreventer fontCachePurgePreventer; + FontCachePurgePreventer font_cache_purge_preventer; String new_text(std::move(new_text_in)); layout_text->StyleRef().ApplyTextTransform(&new_text,