Use WTF::Optional instead of base::Optional
WTF::Optional is just an alias of base::Optional for some valid use cases, but it does not compile for use cases that are not compatible with Oilpan. To take the advantage of this safe type check, we should use WTF::Optional in Blink core instead of direct use of base::Optional. Also base::Optional in Blink core causes presubmit check errors. Change-Id: Ie5b97645cccccbef3464c0d07e3a95d3135cd9d9 Reviewed-on: https://chromium-review.googlesource.com/743821Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#512764}
Showing
Please register or sign in to comment