summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webaccessibility.cc
diff options
context:
space:
mode:
authorctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 21:20:02 +0000
committerctguil@chromium.org <ctguil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 21:20:02 +0000
commit0ea3726128e3865dafd320acd4cf335a1fcba43d (patch)
treec4a7aae6ae5f7a63a4eca4008f7226b0775c3e52 /webkit/glue/webaccessibility.cc
parentd5ad71c610e08e0d4e2cb47e137974d7932576a5 (diff)
downloadchromium_src-0ea3726128e3865dafd320acd4cf335a1fcba43d.zip
chromium_src-0ea3726128e3865dafd320acd4cf335a1fcba43d.tar.gz
chromium_src-0ea3726128e3865dafd320acd4cf335a1fcba43d.tar.bz2
Rename ATTR_LINK_TARGET to ATTR_URL and assign it within webaccessibility.BUG=noneTEST=none
Review URL: http://codereview.chromium.org/5698002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.cc')
-rw-r--r--webkit/glue/webaccessibility.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webaccessibility.cc b/webkit/glue/webaccessibility.cc
index 0888a62..c3ef261 100644
--- a/webkit/glue/webaccessibility.cc
+++ b/webkit/glue/webaccessibility.cc
@@ -324,6 +324,8 @@ void WebAccessibility::Init(const WebKit::WebAccessibilityObject& src,
attributes[ATTR_SHORTCUT] = src.keyboardShortcut();
if (src.hasComputedStyle())
attributes[ATTR_DISPLAY] = src.computedStyleDisplay();
+ if (!src.url().isEmpty())
+ attributes[ATTR_URL] = src.url().spec().utf16();
WebKit::WebNode node = src.node();