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

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

Issue 2688483003: exo: Refactor ShellSurface and WaylandRemoteShell (Closed)
Patch Set: 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
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());

Powered by Google App Engine
This is Rietveld 408576698