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 be25e63754bd16923ee6a6b049ffab3fbd59b1b3..1750a456ecd14f6a13c486ded02b8b7c22c39b4a 100644 |
--- a/ui/gl/gl_image_ref_counted_memory_unittest.cc |
+++ b/ui/gl/gl_image_ref_counted_memory_unittest.cc |
@@ -15,8 +15,9 @@ namespace { |
template <BufferFormat format> |
class GLImageRefCountedMemoryTestDelegate { |
public: |
- scoped_refptr<GLImage> CreateSolidColorImage(const Size& size, |
- const uint8_t color[4]) const { |
+ scoped_refptr<gl::GLImage> CreateSolidColorImage( |
+ const Size& size, |
+ const uint8_t color[4]) const { |
DCHECK_EQ(NumberOfPlanesForBufferFormat(format), 1u); |
std::vector<uint8_t> data(BufferSizeForBufferFormat(size, format)); |
scoped_refptr<base::RefCountedBytes> bytes(new base::RefCountedBytes(data)); |
@@ -25,7 +26,7 @@ class GLImageRefCountedMemoryTestDelegate { |
static_cast<int>(RowSizeForBufferFormat(size.width(), format, 0)), |
format, color, &bytes->data().front()); |
scoped_refptr<GLImageRefCountedMemory> image(new GLImageRefCountedMemory( |
- size, GLImageMemory::GetInternalFormatForTesting(format))); |
+ size, gl::GLImageMemory::GetInternalFormatForTesting(format))); |
bool rv = image->Initialize(bytes.get(), format); |
EXPECT_TRUE(rv); |
return image; |