Use host_piece() when comparing web store URL
This change avoids allocating an additional std::string by using the host_piece() method on GURL instead of using host() when comparing against another GURL. Bug: 663729 Change-Id: I3afd3aeccc0ecca4c04a77543adbdb856a78940e Reviewed-on: https://chromium-review.googlesource.com/1036444 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#554914}
Showing
Please register or sign in to comment