commit | dc7ef83a525049e69e8aafff87b0c929306918f9 | [log] [tgz] |
---|---|---|
author | Christian Xu <christianxu@google.com> | Mon Feb 03 17:55:45 2025 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Feb 03 18:51:55 2025 |
tree | 209a2ee358408b6a0e197b94a8959d1a51ade053 | |
parent | 0d84a9a206cb134ad0ba548c8fe1d4e8906c1f66 [diff] |
[iOS][LO] Add CHECK to ensure non-empty vectors Add CHECK to ensure that the vector is non empty before the pop. The vector is already checked in CanGoBack which is called before these methods. https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/lens_overlay/model/lens_overlay_navigation_manager.mm;l=94-102;drc=3deaac799dc39f0ba14200463fd31bba49eb72a6 The CHECK is added to rule out this possibility during crash investigation. Bug: None Change-Id: Iadbc3d02874ea10627c91b2a3ab3dbe6dde670b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226800 Auto-Submit: Christian Xu <christianxu@chromium.org> Reviewed-by: Ameur Hosni <ameurhosni@google.com> Commit-Queue: Christian Xu <christianxu@chromium.org> Commit-Queue: Ameur Hosni <ameurhosni@google.com> Cr-Commit-Position: refs/heads/main@{#1415009} NOKEYCHECK=True GitOrigin-RevId: 91a5d3bd8bda5d16ad4afd59365e4917071626a1
This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.