[base] Inline AssertIteratorsInOrder in StringPiece
This change inlines the definition of AssertIteratorsInOrder into the string_piece.h. While the goal of the previous implementation was to avoid #including "base/logging.h", that header has already been included with r353605, thus there should be no regressions when inlining this definition. Having AssertIteratorsInOrder inline also directly supports BasicStringPieces that are not base::StringPiece or base::StringPiece16. Bug: 911896 Change-Id: I9150235dc79687b72f970872af950b0a82e1c0a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019442 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#735055}
Showing
Please register or sign in to comment