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

Unified Diff: content/shell/browser/shell_platform_data_aura.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_platform_data_aura.cc
diff --git a/content/shell/browser/shell_platform_data_aura.cc b/content/shell/browser/shell_platform_data_aura.cc
index 3f6d703da7de393f9248d7dfece8d6f9ae2afbee..71a8fc37a2f3809ca85876ee3caeafb0528fbec7 100644
--- a/content/shell/browser/shell_platform_data_aura.cc
+++ b/content/shell/browser/shell_platform_data_aura.cc
@@ -83,7 +83,7 @@ void ShellPlatformDataAura::ShowWindow() {
}
void ShellPlatformDataAura::ResizeWindow(const gfx::Size& size) {
- host_->SetBounds(gfx::Rect(size));
+ host_->SetBoundsInPixel(gfx::Rect(size));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698