forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move cc::MathUtil::ApproximatelyEqual() from cc/base/math_util.h to b…
…ase/numerics/ranges.h This CL moves the utility function cc::MathUtil::ApproximatelyEqual() from //cc/base/math_util.h to //base/numerics/ranges.h, so that it can be used from folders that don't need/ can't to depend on //cc. It also adds an static_assert for std::is_arithmetic<>, and removes the DCHECK internal (because we don't depend on base/logging.h inside base/numerics). Bug: 771345 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I2617abe630774c3148df1507afcb57257ed394bc Reviewed-on: https://chromium-review.googlesource.com/704208 Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#507807}
- Loading branch information
1 parent
93f2601
commit 92f328e
Showing
7 changed files
with
51 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters