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

Unified Diff: ui/gl/gl_image_ref_counted_memory_unittest.cc

Issue 1419733005: gpu: Add YCbCr 420v extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually enable/disable capabilities. Typo. Created 5 years 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 | « ui/gl/gl_image_io_surface_unittest.cc ('k') | ui/gl/gl_image_shared_memory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_ref_counted_memory_unittest.cc
diff --git a/ui/gl/gl_image_ref_counted_memory_unittest.cc b/ui/gl/gl_image_ref_counted_memory_unittest.cc
index 3bbe6aaccbe442a999ffc49ce644f1c6a0fcc1b2..12f4fb86ba6ce844bcee38ffae659db3e9c58436 100644
--- a/ui/gl/gl_image_ref_counted_memory_unittest.cc
+++ b/ui/gl/gl_image_ref_counted_memory_unittest.cc
@@ -23,7 +23,7 @@ class GLImageRefCountedMemoryTestDelegate {
scoped_refptr<base::RefCountedBytes> bytes(new base::RefCountedBytes(data));
GLImageTestSupport::SetBufferDataToColor(
size.width(), size.height(),
- static_cast<int>(RowSizeForBufferFormat(size.width(), format, 0)),
+ static_cast<int>(RowSizeForBufferFormat(size.width(), format, 0)), 0,
format, color, &bytes->data().front());
scoped_refptr<GLImageRefCountedMemory> image(new GLImageRefCountedMemory(
size, gl::GLImageMemory::GetInternalFormatForTesting(format)));
« no previous file with comments | « ui/gl/gl_image_io_surface_unittest.cc ('k') | ui/gl/gl_image_shared_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698