Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1854)

Unified Diff: android_webview/renderer/aw_render_view_ext.cc

Issue 393873003: Use WebNode::getElementsByHTMLTagName instead of getElementsByTagName. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_autofill_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/renderer/aw_render_view_ext.cc
diff --git a/android_webview/renderer/aw_render_view_ext.cc b/android_webview/renderer/aw_render_view_ext.cc
index 7dd91e27dcc07ba9a9860ab2e57612da518c80b2..41c212523e52497cab2c0931e20c20b7e0a410ea 100644
--- a/android_webview/renderer/aw_render_view_ext.cc
+++ b/android_webview/renderer/aw_render_view_ext.cc
@@ -58,7 +58,8 @@ blink::WebElement GetImgChild(const blink::WebElement& element) {
// This implementation is incomplete (for example if is an area tag) but
// matches the original WebViewClassic implementation.
- blink::WebElementCollection collection = element.getElementsByTagName("img");
+ blink::WebElementCollection collection =
+ element.getElementsByHTMLTagName("img");
DCHECK(!collection.isNull());
return collection.firstItem();
}
« no previous file with comments | « no previous file | components/autofill/content/renderer/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698