Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /41eb158d55c8ff1f35de96a3d4227938308390dd
commit41eb158d55c8ff1f35de96a3d4227938308390dd[log][tgz]
authorTom Sepez <tsepez@chromium.org>Tue Sep 12 16:16:22 2023
committerChromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com>Tue Sep 12 16:16:22 2023
tree7c6322db67d1dc2d93ece393421e058e45b098ae
parent5b424e4ad4428c37fd3aeade57a92cf38db6d553[diff]
Add PRESUBMIT rule about raw_ptrs and {}-style initialization.The uniform initializer syntax `{}` is problematic for raw_ptr<T>, asits meaning is different than when used with T*. For the T* case, itresults in null initialization, but for the raw_ptr<T> case, it resultsin default constructor initialization. The default constructor mayleave the member uninitialized under the NoOpImpl, so using `{}` doesnot result in the (presumably) intended null initialization.Change-Id:I2656722d51c5ac84d3f89648eca1c4d115657273Reviewed-on:https://chromium-review.googlesource.com/c/chromium/src/+/4856274Commit-Queue: Tom Sepez <tsepez@chromium.org>Reviewed-by: Daniel Cheng <dcheng@chromium.org>Cr-Commit-Position: refs/heads/main@{#1195439}
1 file changed
tree: 7c6322db67d1dc2d93ece393421e058e45b098ae
  1. android_webview/
  2. apps/
  3. ash/
  4. base/
  5. build/
  6. build_overrides/
  7. buildtools/
  8. cc/
  9. chrome/
  10. chromecast/
  11. chromeos/
  12. codelabs/
  13. components/
  14. content/
  15. courgette/
  16. crypto/
  17. dbus/
  18. device/
  19. docs/
  20. extensions/
  21. fuchsia_web/
  22. gin/
  23. google_apis/
  24. google_update/
  25. gpu/
  26. headless/
  27. infra/
  28. ios/
  29. ipc/
  30. media/
  31. mojo/
  32. native_client_sdk/
  33. net/
  34. pdf/
  35. ppapi/
  36. printing/
  37. remoting/
  38. rlz/
  39. sandbox/
  40. services/
  41. skia/
  42. sql/
  43. storage/
  44. styleguide/
  45. testing/
  46. third_party/
  47. tools/
  48. ui/
  49. url/
  50. webkit/
  51. weblayer/
  52. clank
  53. internal
  54. ios_internal
  55. native_client
  56. signing_keys
  57. v8
  58. .clang-format
  59. .clang-tidy
  60. .eslintrc.js
  61. .git-blame-ignore-revs
  62. .gitattributes
  63. .gitignore
  64. .gitmodules
  65. .gn
  66. .mailmap
  67. .rustfmt.toml
  68. .vpython3
  69. .yapfignore
  70. ATL_OWNERS
  71. AUTHORS
  72. BUILD.gn
  73. CODE_OF_CONDUCT.md
  74. codereview.settings
  75. DEPS
  76. DIR_METADATA
  77. LICENSE
  78. LICENSE.chromium_os
  79. OWNERS
  80. PRESUBMIT.py
  81. PRESUBMIT_test.py
  82. PRESUBMIT_test_mocks.py
  83. README.md
  84. WATCHLISTS
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site ishttps://www.chromium.org.

To check out the source code locally, don't usegit clone! Instead, followthe instructions on how to get the code.

Documentation in the source is rooted indocs/README.md.

Learn how toGet Around the Chromium Source Code Directory Structure.

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it athttps://crbug.com/new.


[8]ページ先頭

©2009-2025 Movatter.jp