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

Unified Diff: ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc

Issue 908993003: [Ozone-Dri] Rename DriWrapper to DrmDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@udl3-pass-drm-fd
Patch Set: rebased Created 5 years, 10 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
Index: ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc
diff --git a/ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc b/ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc
index 7e5dadebe339ffb5dcc615c55b7c44532e0984e7..5ee025433eebc1a64f68d2051657e042f87215fc 100644
--- a/ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc
+++ b/ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc
@@ -13,7 +13,7 @@
#include "ui/ozone/platform/dri/hardware_display_plane_manager_legacy.h"
#include "ui/ozone/platform/dri/overlay_plane.h"
#include "ui/ozone/platform/dri/scanout_buffer.h"
-#include "ui/ozone/platform/dri/test/mock_dri_wrapper.h"
+#include "ui/ozone/platform/dri/test/mock_drm_device.h"
namespace {
@@ -232,8 +232,7 @@ TEST_F(HardwareDisplayPlaneManagerTest, SharedPlanes) {
TEST(HardwareDisplayPlaneManagerLegacyTest, UnusedPlanesAreReleased) {
std::vector<uint32_t> crtcs;
crtcs.push_back(100);
- scoped_refptr<ui::MockDriWrapper> drm =
- new ui::MockDriWrapper(false, crtcs, 2);
+ scoped_refptr<ui::MockDrmDevice> drm = new ui::MockDrmDevice(false, crtcs, 2);
ui::OverlayPlaneList assigns;
scoped_refptr<FakeScanoutBuffer> fake_buffer = new FakeScanoutBuffer();
assigns.push_back(ui::OverlayPlane(fake_buffer));
« no previous file with comments | « ui/ozone/platform/dri/hardware_display_plane_manager_legacy.cc ('k') | ui/ozone/platform/dri/native_display_delegate_dri.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698