diff options
author | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 19:40:25 +0000 |
---|---|---|
committer | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-21 19:40:25 +0000 |
commit | 6a0f22f750f39085407207e2481576d76f7fdf30 (patch) | |
tree | e978337ae43a23a4727541dbd695ca1844855bfb /webkit/glue/webaccessibility.cc | |
parent | 0d9440ee2f3c2b93d21cf1d4586c73448fd9d1b0 (diff) | |
download | chromium_src-6a0f22f750f39085407207e2481576d76f7fdf30.zip chromium_src-6a0f22f750f39085407207e2481576d76f7fdf30.tar.gz chromium_src-6a0f22f750f39085407207e2481576d76f7fdf30.tar.bz2 |
Revert 60088 - Set name of document accessibility nodes to document title.
BUG=36169
TEST=browser_tests:RendererAccessibilityBrowserTest.TestCrossPlatformAccessibilityTree
Review URL: http://codereview.chromium.org/3448016
TBR=ctguil@chromium.org
Review URL: http://codereview.chromium.org/3402020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.cc')
-rw-r--r-- | webkit/glue/webaccessibility.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/webkit/glue/webaccessibility.cc b/webkit/glue/webaccessibility.cc index 2e75f19..38b1cfd 100644 --- a/webkit/glue/webaccessibility.cc +++ b/webkit/glue/webaccessibility.cc @@ -314,8 +314,6 @@ void WebAccessibility::Init(const WebKit::WebAccessibilityObject& src, if (role == WebAccessibility::ROLE_DOCUMENT || role == WebAccessibility::ROLE_WEB_AREA) { WebKit::WebDocument document = src.document(); - if (name.empty()) - name = document.title(); attributes[ATTR_DOC_TITLE] = document.title(); attributes[ATTR_DOC_URL] = document.frame()->url().spec().utf16(); if (document.isXHTMLDocument()) |