Add .get() to CheckedPtr when comparing with a std::string
When using a binary operand with CheckedPtr and std::string, you get an invalid operands to binary expression error. With this CL, the rewriter matches CheckedPtr used with a std::string and adds .get() so the std::string/char* operator overrides gets used. Bug: 1073933 Change-Id: I4854d4d272ba1d9a107e7e346bfbe363e6861c06 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2535908Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Łukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Keishi Hattori <keishi@chromium.org> Cr-Commit-Position: refs/heads/master@{#827861}
Showing
Please register or sign in to comment