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

Unified Diff: ash/mus/non_client_frame_controller.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (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: ash/mus/non_client_frame_controller.cc
diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
index 382f0d9aeb677ee50834b1ae129c03c8b57bcd41..a58b794d8b7755a3c0db6fade7d1e983d4ca187e 100644
--- a/ash/mus/non_client_frame_controller.cc
+++ b/ash/mus/non_client_frame_controller.cc
@@ -257,7 +257,7 @@ class WmNativeWidgetMus : public views::NativeWidgetMus {
window_tree_host->window(), shadow_.get());
window_tree_host->window()->SetLayoutManager(layout_manager);
const int inset = Shadow::GetInteriorInsetForStyle(Shadow::STYLE_ACTIVE);
- window_tree_host->SetOutputSurfacePadding(
+ window_tree_host->SetOutputSurfacePaddingInPixel(
gfx::Insets(inset, inset, inset, inset));
window_tree_host->window()->layer()->Add(shadow_->layer());
shadow_->layer()->parent()->StackAtBottom(shadow_->layer());

Powered by Google App Engine
This is Rietveld 408576698