[WebView Autofill] Always check if log is enabled
Always check if log is enabled before ouput log, this avoid creating string object while log is disabled. Also only check Android log property when AwAutofillManager is created or new session starts. Bug: 843277 Change-Id: Id2ab708646d434677d11016132cc47b6fa4985be Reviewed-on: https://chromium-review.googlesource.com/1106959Reviewed-by:Changwan Ryu <changwan@chromium.org> Commit-Queue: Tao Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/master@{#568736}
Showing
Please register or sign in to comment