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

Unified Diff: cc/resources/resource_update_controller_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/resources/resource_update_controller_unittest.cc
diff --git a/cc/resources/resource_update_controller_unittest.cc b/cc/resources/resource_update_controller_unittest.cc
index ccbfaddc89ad7fe095867beaf9ef0fd49d4049b6..bbcb6b505447d5b8d1f0132fae98ffba749a77bf 100644
--- a/cc/resources/resource_update_controller_unittest.cc
+++ b/cc/resources/resource_update_controller_unittest.cc
@@ -124,7 +124,8 @@ class ResourceUpdateControllerTest : public Test {
for (int i = 0; i < 4; i++) {
textures_[i] = PrioritizedResource::Create(resource_manager_.get(),
- gfx::Size(300, 150), GL_RGBA);
+ gfx::Size(300, 150),
+ RGBA_8888);
textures_[i]->
set_request_priority(PriorityCalculator::VisiblePriority(true));
}

Powered by Google App Engine
This is Rietveld 408576698