diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 18:18:44 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 18:18:44 +0000 |
commit | bab5f452b9c8795e061d1858010ddf37c96bee48 (patch) | |
tree | 378fce56be62eb90a22cf0d7949e22a9054c9ebb /android_webview/java/src | |
parent | 46c70476a023039426d5b2f7cb12020790a8b44b (diff) | |
download | chromium_src-bab5f452b9c8795e061d1858010ddf37c96bee48.zip chromium_src-bab5f452b9c8795e061d1858010ddf37c96bee48.tar.gz chromium_src-bab5f452b9c8795e061d1858010ddf37c96bee48.tar.bz2 |
aw: Limit full url href hittest to only anchor type
This limits the fix for crrev.com/r223298 to anchor type, and
re-implement it and test it properly.
BUG=323989
Review URL: https://codereview.chromium.org/92903003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/java/src')
-rw-r--r-- | android_webview/java/src/org/chromium/android_webview/AwContents.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java index 5b8fd9a..8605762 100644 --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java @@ -1350,7 +1350,7 @@ public class AwContents { // In order to maintain compatibility with the old WebView's implementation, // the absolute (full) url is passed in the |url| field, not only the href attribute. // Note: HitTestData could be cleaned up at this point. See http://crbug.com/290992. - data.putString("url", mPossiblyStaleHitTestData.hitTestResultExtraData); + data.putString("url", mPossiblyStaleHitTestData.href); data.putString("title", mPossiblyStaleHitTestData.anchorText); data.putString("src", mPossiblyStaleHitTestData.imgSrc); msg.setData(data); |