Add missing limits header to crashpad.

This patch fixes the following error:

../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:12: error: 'numeric_limits' is not a member of 'std'
       std::numeric_limits<decltype(context->spsr)>::max()) {
            ^~~~~~~~~~~~~~
../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:27: error: expected primary-expression before 'decltype'
       std::numeric_limits<decltype(context->spsr)>::max()) {
                           ^~~~~~~~
../../third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc:246:27: error: expected ')' before 'decltype'

Bug: chromium:819294
Change-Id: I4f31a33fcdae9567c71a4d371d2e6afe68d2ef6a
Reviewed-on: https://chromium-review.googlesource.com/c/1454376
Commit-Queue: Maksim Sisov <msisov@igalia.com>
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Maksim Sisov 2019-02-05 08:33:45 +02:00 committed by Commit Bot
parent caad799c28
commit 152aa8d1f9

View File

@ -17,6 +17,8 @@
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#include <limits>
#include "base/logging.h" #include "base/logging.h"
namespace crashpad { namespace crashpad {