Add missing R class to WebView resource rewriting.
commitf417eb24ae1c89a02b081571aeed1403cc39a1cc
authortorne <torne@chromium.org>
Tue, 26 May 2015 14:39:31 +0000 (26 07:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 May 2015 14:39:57 +0000 (26 14:39 +0000)
treeb14220e2f567b972cf3fbabb1df897040d5a7371
parent68e4bb970fcc6d9b43df4b5854c59da9a084acf1
Add missing R class to WebView resource rewriting.

We weren't rewriting the resources for web_contents_delegate_android,
resulting in crashes any time a resource was loaded by that component
(e.g. popup bubbles for HTML form validation failures). Add it to the
list and also clean up outdated comments here that refer to previous
versions of this code. Add a TODO to track finding a better way to do
this which is less fragile.

BUG=490826

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

Cr-Commit-Position: refs/heads/master@{#331356}
android_webview/glue/java/src/com/android/webview/chromium/ResourceRewriter.java