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

Unified Diff: ui/gl/gl_image_ref_counted_memory_unittest.cc

Issue 2014223002: Follow-up fixes to changing namespace gfx to gl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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
« no previous file with comments | « ui/gl/gl_image_ref_counted_memory.h ('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 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;
« no previous file with comments | « ui/gl/gl_image_ref_counted_memory.h ('k') | ui/gl/gl_image_shared_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698