DescriptionFix Tab.getWebContents for downstream instrumentation tests
Tab.getWebContents() was using JNI to fetch the WebContents object. This
is undesirable for several reasons, including performance impact and
thread access consistency. Remove this and prefer redirecting the query
to ContentViewcore.getWebContents() instead.
This fix is a temporary workaround until all downstream test sites can
be patched.
BUG=398263, 414445
TBR=tedchoc@chromium.org
NOTRY=true
Committed: https://crrev.com/9013fc8939168ed393119ce440e2630b3b68ed1c
Cr-Commit-Position: refs/heads/master@{#294918}
Patch Set 1 #Patch Set 2 : Remove native method #
Messages
Total messages: 10 (4 generated)
|