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

Unified Diff: content/shell/browser/shell_views.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: Created 4 years, 1 month 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/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 80fe577f41688fa0e1a40e5dcf479d41b0db71c9..19f12d1822c192c1635937492e718ef230a58740 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -92,7 +92,7 @@ class ShellWindowDelegateView : public views::WidgetDelegateView,
// Resizing a widget on chromeos doesn't automatically resize the root, need
// to explicitly do that.
#if defined(OS_CHROMEOS)
- GetWidget()->GetNativeWindow()->GetHost()->SetBounds(bounds);
+ GetWidget()->GetNativeWindow()->GetHost()->SetBoundsInPixel(bounds);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698