From d5ccca824e8c5d234e607ed6a3da88671a5d09ae Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 24 Jun 2020 13:46:35 +0000 Subject: Remove/replace unnecessary includes of logging.h (components/) If the file just needs the CHECK/CHECK_OP/NOTREACHED macros, use the appropriate header for that instead. Or if logging.h is not needed at all, remove it. This is both a nice cleanup (logging.h is a big header, and including it unnecessarily has compile-time costs), and part of the final step towards making logging.h no longer include check.h and the others. Bug: 1031540 Change-Id: Ibeb7cc26e331161c5a1490b84ef5a59ecd122413 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254029 Auto-Submit: Hans Wennborg Commit-Queue: Colin Blundell Reviewed-by: Colin Blundell Cr-Commit-Position: refs/heads/master@{#781841} NOKEYCHECK=True GitOrigin-RevId: 29c74d3fa1a05f3de62c3017b70c4e9e0d7fbbca --- suffix_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'suffix_array.h') diff --git a/suffix_array.h b/suffix_array.h index ea49a43..cf9af7d 100644 --- a/suffix_array.h +++ b/suffix_array.h @@ -10,7 +10,7 @@ #include #include -#include "base/logging.h" +#include "base/check.h" #include "base/macros.h" namespace zucchini { -- cgit v1.2.3