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

Unified Diff: ui/ozone/platform/x11/ozone_platform_x11.cc

Issue 2665193002: Fix aura_unittests for Ozone X11. (Closed)
Patch Set: Pass initial bounds into X11Window/X11WindowOzone. Created 3 years, 11 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 | « testing/buildbot/chromium.chromiumos.json ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/x11/ozone_platform_x11.cc
diff --git a/ui/ozone/platform/x11/ozone_platform_x11.cc b/ui/ozone/platform/x11/ozone_platform_x11.cc
index 06458c6fe52a8ebafcc924b51b21f67545533c7d..6db5b67b1b99ea898677884c378241b7311c4086 100644
--- a/ui/ozone/platform/x11/ozone_platform_x11.cc
+++ b/ui/ozone/platform/x11/ozone_platform_x11.cc
@@ -77,8 +77,7 @@ class OzonePlatformX11 : public OzonePlatform {
PlatformWindowDelegate* delegate,
const gfx::Rect& bounds) override {
std::unique_ptr<X11WindowOzone> window = base::MakeUnique<X11WindowOzone>(
- event_source_.get(), window_manager_.get(), delegate);
- window->SetBounds(bounds);
+ event_source_.get(), window_manager_.get(), delegate, bounds);
window->Create();
window->SetTitle(base::ASCIIToUTF16("Ozone X11"));
return std::move(window);
« no previous file with comments | « testing/buildbot/chromium.chromiumos.json ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698