Remove usage of WebFrame::uniqueName when using WebView::findFrameByName
commit0619840ebe5319de67e13e4f5c8c07963c2a64ef
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Mar 2014 22:05:45 +0000 (26 22:05 +0000)
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 26 Mar 2014 22:05:45 +0000 (26 22:05 +0000)
tree878b1ce47704c10b5e1ee92ccbceb4f341182d76
parent51791f97d8e585e1468e7c61d0687a832c8564d8
Remove usage of WebFrame::uniqueName when using WebView::findFrameByName

The implementation of findFrameByName was changed to use WebFrame::assignedName
in http://src.chromium.org/viewvc/blink?revision=169764&view=revision.

In some cases, usage of findFrameByName() can be replaced by traversing the
frame manually, and the code will be more reliable in general.

BUG=356061
NOTRY=true
R=boliu@chromium.org, estade@chromium.org, vitalybuka@chromium.org

Review URL: https://codereview.chromium.org/213333002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259712 0039d316-1c4b-4281-b951-d872f2087c98
android_webview/renderer/print_web_view_helper.cc
android_webview/renderer/print_web_view_helper.h
chrome/renderer/printing/print_web_view_helper.cc
chrome/renderer/printing/print_web_view_helper.h
components/autofill/content/renderer/password_autofill_agent.cc