Index: cc/resources/resource_provider.cc |
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc |
index 717011c1e394ab139ed1d7c3a1c308a551b3e40f..bbb377252d972cd4c00c01b580cca2295f84a0fd 100644 |
--- a/cc/resources/resource_provider.cc |
+++ b/cc/resources/resource_provider.cc |
@@ -998,7 +998,8 @@ void ResourceProvider::InitializeSoftware() { |
CleanUpGLIfNeeded(); |
default_resource_type_ = Bitmap; |
- max_texture_size_ = INT_MAX / 2; |
+ // Pick an arbitrary limit here similar to what hardware might. |
+ max_texture_size_ = 16 * 1024; |
best_texture_format_ = RGBA_8888; |
} |