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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 1927463002: Rename gfx::Display/Screen to display::Display/Screen in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 32e4209a54ec80b83b6a3158307f35a25e12c811..13367a32cbe02952ecc2e24fb4539c53eec6f3e4 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -42,10 +42,10 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/layout.h"
-#include "ui/gfx/display.h"
+#include "ui/display/display.h"
+#include "ui/display/screen.h"
#include "ui/gfx/geometry/dip_util.h"
#include "ui/gfx/geometry/size_conversions.h"
-#include "ui/gfx/screen.h"
#include "ui/gfx/test/test_screen.h"
namespace content {
@@ -600,8 +600,8 @@ class MAYBE_WebContentsVideoCaptureDeviceTest : public testing::Test {
test_screen_.display()->set_bounds(gfx::Rect(0, 0, 2560, 1440));
test_screen_.display()->set_device_scale_factor(kTestDeviceScaleFactor);
- gfx::Screen::SetScreenInstance(&test_screen_);
- ASSERT_EQ(&test_screen_, gfx::Screen::GetScreen());
+ display::Screen::SetScreenInstance(&test_screen_);
+ ASSERT_EQ(&test_screen_, display::Screen::GetScreen());
// TODO(nick): Sadness and woe! Much "mock-the-world" boilerplate could be
// eliminated here, if only we could use RenderViewHostTestHarness. The
@@ -659,7 +659,7 @@ class MAYBE_WebContentsVideoCaptureDeviceTest : public testing::Test {
render_view_host_factory_.reset();
render_process_host_factory_.reset();
- gfx::Screen::SetScreenInstance(nullptr);
+ display::Screen::SetScreenInstance(nullptr);
}
// Accessors.
« no previous file with comments | « content/browser/media/capture/aura_window_capture_machine.cc ('k') | content/browser/renderer_host/dip_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698