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

Unified Diff: components/exo/test/exo_test_helper.cc

Issue 2688483003: exo: Refactor ShellSurface and WaylandRemoteShell (Closed)
Patch Set: Revert unnecessary changes Created 3 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
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/test/exo_test_helper.cc
diff --git a/components/exo/test/exo_test_helper.cc b/components/exo/test/exo_test_helper.cc
index d729b75ac3da76c543b7b1a14bd44eeb7b81b5b1..e10c6da2bad71f3cc087ef09767da085767b0e90 100644
--- a/components/exo/test/exo_test_helper.cc
+++ b/components/exo/test/exo_test_helper.cc
@@ -28,8 +28,8 @@ ExoTestWindow::ExoTestWindow(std::unique_ptr<gfx::GpuMemoryBuffer> gpu_buffer,
int container = is_modal ? ash::kShellWindowId_SystemModalContainer
: ash::kShellWindowId_DefaultContainer;
shell_surface_.reset(new ShellSurface(surface_.get(), nullptr,
- gfx::Rect(gpu_buffer->GetSize()), true,
- false, container));
+ ShellSurface::BoundsMode::SHELL,
+ gfx::Point(), true, false, container));
buffer_.reset(new Buffer(std::move(gpu_buffer)));
surface_->Attach(buffer_.get());
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698