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

Unified Diff: ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark Created 3 years, 9 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/ozone/generate_constructor_list.py ('k') | ui/ozone/platform/cast/client_native_pixmap_factory_cast.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc
diff --git a/ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc b/ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc
index d538f85e301ca934a6dde24a002810b33dcb2bc6..525ba66bb9460def47c3ca31f2f7e1c98229a0cf 100644
--- a/ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc
+++ b/ui/ozone/gl/gl_image_ozone_native_pixmap_unittest.cc
@@ -36,7 +36,7 @@ class GLImageNativePixmapTestDelegate {
const uint8_t color[4]) const {
ui::SurfaceFactoryOzone* surface_factory =
ui::OzonePlatform::GetInstance()->GetSurfaceFactoryOzone();
- scoped_refptr<ui::NativePixmap> pixmap =
+ scoped_refptr<gfx::NativePixmap> pixmap =
surface_factory->CreateNativePixmap(gfx::kNullAcceleratedWidget, size,
format, usage);
DCHECK(pixmap);
@@ -56,8 +56,8 @@ class GLImageNativePixmapTestDelegate {
client_pixmap->Unmap();
}
- scoped_refptr<ui::GLImageNativePixmap> image(new ui::GLImageNativePixmap(
- size, ui::GLImageNativePixmap::GetInternalFormatForTesting(format)));
+ scoped_refptr<gl::GLImageNativePixmap> image(new gl::GLImageNativePixmap(
+ size, gl::GLImageNativePixmap::GetInternalFormatForTesting(format)));
EXPECT_TRUE(image->Initialize(pixmap.get(), pixmap->GetBufferFormat()));
return image;
}
@@ -74,7 +74,7 @@ class GLImageNativePixmapTestDelegate {
}
private:
- std::unique_ptr<ui::ClientNativePixmapFactory> client_pixmap_factory_;
+ std::unique_ptr<gfx::ClientNativePixmapFactory> client_pixmap_factory_;
};
using GLImageScanoutType = testing::Types<
« no previous file with comments | « ui/ozone/generate_constructor_list.py ('k') | ui/ozone/platform/cast/client_native_pixmap_factory_cast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698