From b014812705fc80bff0a5c120dfcef88f349816dc Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 24 Aug 2018 12:15:48 +0200 Subject: BASELINE: Update Chromium to 68.0.3440.125 Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen --- chromium/components/zucchini/target_pool.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chromium/components/zucchini/target_pool.h') diff --git a/chromium/components/zucchini/target_pool.h b/chromium/components/zucchini/target_pool.h index b881b1e45bf..27884d628dc 100644 --- a/chromium/components/zucchini/target_pool.h +++ b/chromium/components/zucchini/target_pool.h @@ -54,6 +54,9 @@ class TargetPool { // this class. offset_t OffsetForKey(key_t key) const { return targets_[key]; } + // Returns whether a particular key is valid. + bool KeyIsValid(key_t key) const { return key < targets_.size(); } + // Uses |offset_mapper| to transform "old" |targets_| to "new" |targets_|, // resulting in sorted and unique targets. void FilterAndProject(const OffsetMapper& offset_mapper); -- cgit v1.2.1