Hash :
22717ce2
Author :
Date :
2017-05-24T00:15:22
Wrap safe numerics library in namespace angle. When ANGLE is used with Chromium, having two copies of safe numerics code in namespace base causes ODR violations. BUG=449754 Change-Id: I686049e7d8926373d00dd17ec8142fa3c508b9c5 Reviewed-on: https://chromium-review.googlesource.com/513434 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
Name: Chromium: base/numerics
Short Name: base::numerics
Version:
URL: https://chromium.googlesource.com/chromium/src.git/+/lkcr/base/numerics/
SOURCE CODE: Copy the Chromium folder manually into this folder and run git cl format.
Date: 30/05/2016
Revision: 28b5bbb227d331c01e6ff9b2f8729732135aadc7 (Chromium)
Security Critical: no
License: Chromium
License File: LICENSE in Chromium/src
Description:
base::numerics is a library for doing some simple safe math and conversions.
To update the checkout, simply overwrite the base/numerics folder with
Chromium's latest.
Modifications:
- base/logging.h defines CHECK to be ASSERT to be compatible with ANGLE.
- base/numerics/*.h uses namespace angle::base instead of base:: to avoid ODR
violations when ANGLE code is mixed with Chromium code.