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 f24b1ecfa376911e0500ba5e4bce2a3660e3cb14..ee0ac5d576ac54f3b82251f91992ab60e5ca750b 100644 |
--- a/ui/gl/gl_image_ref_counted_memory_unittest.cc |
+++ b/ui/gl/gl_image_ref_counted_memory_unittest.cc |
@@ -17,9 +17,8 @@ namespace { |
template <gfx::BufferFormat format> |
class GLImageRefCountedMemoryTestDelegate { |
public: |
- scoped_refptr<gl::GLImage> CreateSolidColorImage( |
- const gfx::Size& size, |
- const uint8_t color[4]) const { |
+ scoped_refptr<GLImage> CreateSolidColorImage(const gfx::Size& size, |
+ const uint8_t color[4]) const { |
DCHECK_EQ(NumberOfPlanesForBufferFormat(format), 1u); |
std::vector<uint8_t> data(gfx::BufferSizeForBufferFormat(size, format)); |
scoped_refptr<base::RefCountedBytes> bytes(new base::RefCountedBytes(data)); |
@@ -28,7 +27,7 @@ class GLImageRefCountedMemoryTestDelegate { |
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))); |
+ size, GLImageMemory::GetInternalFormatForTesting(format))); |
bool rv = image->Initialize(bytes.get(), format); |
EXPECT_TRUE(rv); |
return image; |