Remove unneeded limits.h includes.
None of these files use INT_MAX and friends. (anymore)
Change-Id: Ic2a874190a4c6198dc1e2e6546cd38a2c0170191
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/73572
Reviewed-by: Hui Yingst <nigi@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fpdfapi/page/cpdf_devicecs.cpp b/core/fpdfapi/page/cpdf_devicecs.cpp
index e557516..f519955 100644
--- a/core/fpdfapi/page/cpdf_devicecs.cpp
+++ b/core/fpdfapi/page/cpdf_devicecs.cpp
@@ -6,8 +6,6 @@
#include "core/fpdfapi/page/cpdf_devicecs.h"
-#include <limits.h>
-
#include <algorithm>
#include "core/fpdfapi/parser/cpdf_array.h"
diff --git a/core/fpdfapi/page/cpdf_streamparser.cpp b/core/fpdfapi/page/cpdf_streamparser.cpp
index eea54bb..8a47992 100644
--- a/core/fpdfapi/page/cpdf_streamparser.cpp
+++ b/core/fpdfapi/page/cpdf_streamparser.cpp
@@ -6,8 +6,6 @@
#include "core/fpdfapi/page/cpdf_streamparser.h"
-#include <limits.h>
-
#include <algorithm>
#include <memory>
#include <sstream>
diff --git a/core/fxge/dib/cfx_dibitmap.cpp b/core/fxge/dib/cfx_dibitmap.cpp
index 587dac3..86a1005 100644
--- a/core/fxge/dib/cfx_dibitmap.cpp
+++ b/core/fxge/dib/cfx_dibitmap.cpp
@@ -6,8 +6,6 @@
#include "core/fxge/dib/cfx_dibitmap.h"
-#include <limits.h>
-
#include <limits>
#include <memory>
#include <utility>
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index 67f16fd..d390169 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index f910d6d..15db8a0 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -4,8 +4,6 @@
#include "testing/embedder_test.h"
-#include <limits.h>
-
#include <memory>
#include <string>
#include <utility>
diff --git a/testing/fuzzers/pdfium_fuzzer_helper.cc b/testing/fuzzers/pdfium_fuzzer_helper.cc
index 266666d..e3cc884 100644
--- a/testing/fuzzers/pdfium_fuzzer_helper.cc
+++ b/testing/fuzzers/pdfium_fuzzer_helper.cc
@@ -5,8 +5,6 @@
#include "testing/fuzzers/pdfium_fuzzer_helper.h"
#include <assert.h>
-#include <limits.h>
-
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>