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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 1028333002: Chromium -> Mojo roll. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « cc/test/fake_picture_layer_impl.h ('k') | cc/test/fake_ui_resource_layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 5ac6f69e3e039a134106b02add5e175cdbb5cd1b..75f7fdafa4f1a927ae87d7437a1e82be297f235c 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -132,6 +132,7 @@ void FakePictureLayerImpl::SetRasterSourceOnPending(
DCHECK(layer_tree_impl()->IsPendingTree());
Region invalidation_temp = invalidation;
const PictureLayerTilingSet* pending_set = nullptr;
+ set_gpu_raster_max_texture_size(layer_tree_impl()->device_viewport_size());
UpdateRasterSource(raster_source, &invalidation_temp, pending_set);
}
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | cc/test/fake_ui_resource_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698