Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index c3c311096bd021e7166ad44ef521c46255ae6536..0b034ed024f16544199b2dde7da2f397b0c211f1 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -400,6 +400,11 @@ bool AwContents::OnReceivedHttpAuthRequest(const JavaRef<jobject>& handler, |
return true; |
} |
+void AwContents::SetOffscreenPreRaster(bool enabled) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ browser_view_renderer_.SetOffscreenPreRaster(enabled); |
+} |
+ |
void AwContents::AddVisitedLinks(JNIEnv* env, |
jobject obj, |
jobjectArray jvisited_links) { |