| Index: android_webview/native/aw_settings.cc
|
| diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
|
| index 6589e960b3c245a7cc348270c0ca982d352ca1d4..cd3a64a0dc841c3e966f55561ca06f48f2d686ec 100644
|
| --- a/android_webview/native/aw_settings.cc
|
| +++ b/android_webview/native/aw_settings.cc
|
| @@ -209,6 +209,14 @@ void AwSettings::UpdateRendererPreferencesLocked(JNIEnv* env, jobject obj) {
|
| host->SyncRendererPrefs();
|
| }
|
|
|
| +void AwSettings::UpdateOffscreenPreRasterLocked(JNIEnv* env, jobject obj) {
|
| + AwContents* contents = AwContents::FromWebContents(web_contents());
|
| + if (contents) {
|
| + contents->SetOffscreenPreRaster(
|
| + Java_AwSettings_getOffscreenPreRasterLocked(env, obj));
|
| + }
|
| +}
|
| +
|
| void AwSettings::RenderViewCreated(content::RenderViewHost* render_view_host) {
|
| // A single WebContents can normally have 0 to many RenderViewHost instances
|
| // associated with it.
|
|
|