WebGLRenderingContextBase: use default member initializer
This CL follows up on a comment [1] and moves a few constant values out of the ctor initialization list to default member initializers. This clarifies what initialization must be delayed to ctor time (because it needs parameters) vs purely constant, and homogenises it. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1159185/16/third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h#715 Bug: 869922 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Icdf567886519853ced6ee88a135fcb85caf1316b Reviewed-on: https://chromium-review.googlesource.com/1162644Reviewed-by:Kenneth Russell <kbr@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#581093}
Showing
Please register or sign in to comment