Chromium Code Reviews
DescriptionUse BrowserAccessibility::GetClosestPlatformObject consistently
We had two code blocks that were trying to do the same thing as
BrowserAccessibility::GetClosestPlatformObject(), but they should have
just called that function instead.
Also, the two code blocks had a bug in that they considered iframe elements
to be leaf nodes, which could cause problems. GetClosestPlatformObject()
doesn't have that bug because it only searches within the current frame,
so by switching to this function we fix that bug.
BUG=652805
Committed: https://crrev.com/6d2ed04992c82f83d1bbbd39520f3e1867b6b28c
Cr-Commit-Position: refs/heads/master@{#424196}
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|
||||||||||||||||||||||||||||