Reland "Make VectorIcon null constructor private."

This reverts commit 7eef3739c38107d4489546763fef91cf94f73d57.

Reason for revert: Fixed component build issues, see Patchset 2

Original change's description:
> Revert "Make VectorIcon null constructor private."
>
> This reverts commit 5243880b6babea5956782ee69f7873fd3db3d66a.
>
> Reason for revert: Suspecting this CL for consistent test failures starting with https://ci.chromium.org/ui/p/chromium/builders/ci/linux-chromeos-dbg/38900/overview
>
> Original change's description:
> > Make VectorIcon null constructor private.
> >
> > VectorIcon is meant to always point to a static object, including for
> > the null case, and be comparable by pointer.
> >
> > This requires changing `kNoneIcon`, since it can't live outside the
> > class anymore.
> >
> > Bug: 364987728
> > Change-Id: I54b80f7026793b07de85f911e8e2cf3389b98d3b
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219807
> > Commit-Queue: Peter Kasting <pkasting@chromium.org>
> > Owners-Override: Peter Kasting <pkasting@chromium.org>
> > Reviewed-by: Evan Stade <estade@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1414006}
>
> Bug: 364987728
> Change-Id: I11d811c2a37391f2e18949f20674cb054f5242e9
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219353
> Owners-Override: Kevin McNee <mcnee@google.com>
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Auto-Submit: Kevin McNee <mcnee@chromium.org>
> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/main@{#1414165}

Bug: 364987728
Change-Id: I57e1fa5d2629dfe877f3f5214e613c963d51bcef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6221356
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Owners-Override: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1415035}
NOKEYCHECK=True
GitOrigin-RevId: 25b169ef7fb0f78f8197dfc83db4f27dbdc9bd28
1 file changed
tree: 9f2251a6ae2b2cf326ae4bbaa0638bb478621ed9
  1. build/
  2. chrome/
  3. components/
  4. google_internal/
  5. intents/
  6. net/
  7. public/
  8. testing/
  9. third_party/
  10. tools/
  11. web/
  12. web_view/
  13. .swift-format
  14. BUILD.gn
  15. COMMON_METADATA
  16. DEPS
  17. DIR_METADATA
  18. features.gni
  19. OWNERS
  20. PRESUBMIT.py
  21. PRESUBMIT_test.py
  22. README.md
README.md

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.