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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback Created 7 years, 3 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
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 3db7e6786012b723608e7188a8c8a55ba4e6f291..f7d44e344a7020ef524b1f8e5ba4af7df37e499c 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -1741,7 +1741,7 @@ class EvictionTestLayer : public Layer {
return;
texture_ = PrioritizedResource::Create(
layer_tree_host()->contents_texture_manager());
- texture_->SetDimensions(gfx::Size(10, 10), GL_RGBA);
+ texture_->SetDimensions(gfx::Size(10, 10), RGBA_8888);
bitmap_.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
}

Powered by Google App Engine
This is Rietveld 408576698