chromium-112-gcc-13-0022-gcc-ambiguous-ViewTransitionElementId-type.patch 1.3 KB

123456789101112131415161718192021222324252627
  1. https://chromium-review.googlesource.com/c/chromium/src/+/4406546
  2. From 5157addae4101604be0cc5de2d755cf54c5fc38e Mon Sep 17 00:00:00 2001
  3. From: Stephan Hartmann <stha09@googlemail.com>
  4. Date: Tue, 11 Apr 2023 15:09:36 +0000
  5. Subject: [PATCH] GCC: fix ambiguous ViewTransitionElementId type
  6. GCC sees cc::ViewTransitionElementId and
  7. blink::ViewTransitionElementId. Add namespace to avoid confusion.
  8. Bug: 819294
  9. Change-Id: I5ab81a04b4c7c15a1a0441266fc6f1e0ceb81a05
  10. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4406546
  11. Reviewed-by: Ian Vollick <vollick@chromium.org>
  12. Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
  13. Cr-Commit-Position: refs/heads/main@{#1128644}
  14. --- a/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.h
  15. +++ b/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.h
  16. @@ -116,7 +116,7 @@
  17. // An identifier for a view transition element. `id.valid()` returns true if
  18. // this has been set, and false otherwise.
  19. - ViewTransitionElementId view_transition_element_id;
  20. + blink::ViewTransitionElementId view_transition_element_id;
  21. // An identifier to tag transition element resources generated and cached in
  22. // the Viz process. This generated resource can be used as content for other