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

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: rebase 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..6ea8edbd742768d9c6696420567f03837d25491f 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_->SetBoundsInPixels(gfx::Rect(size));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698