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

Unified Diff: android_webview/browser/browser_view_renderer.cc

Issue 660383004: aw: Do not limit number of tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.cc
diff --git a/android_webview/browser/browser_view_renderer.cc b/android_webview/browser/browser_view_renderer.cc
index cbe31857a4dab1eab93ab4dc6f94858ad165e20d..3b43ad4d9751835da6ba226bd6eeea5ec6141189 100644
--- a/android_webview/browser/browser_view_renderer.cc
+++ b/android_webview/browser/browser_view_renderer.cc
@@ -61,8 +61,9 @@ void BrowserViewRenderer::CalculateTileMemoryPolicy() {
g_memory_override_in_bytes *= 1024 * 1024;
}
- // Also use a high tile limit since there are no file descriptor issues.
- GlobalTileManager::GetInstance()->SetTileLimit(1000);
+ // There is no need to limit number of tiles, so use an effectively unlimited
+ // value as the limit.
+ GlobalTileManager::GetInstance()->SetTileLimit(10 * 1000 * 1000);
}
BrowserViewRenderer::BrowserViewRenderer(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698