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

Unified Diff: ash/mus/non_client_frame_controller.cc

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)
Patch Set: win 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..4ed89b80a6b750acce7a9d2a201c86f479573e76 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->SetOutputSurfacePaddingInPixels(
gfx::Insets(inset, inset, inset, inset));
window_tree_host->window()->layer()->Add(shadow_->layer());
shadow_->layer()->parent()->StackAtBottom(shadow_->layer());
« no previous file with comments | « ash/magnifier/magnification_controller.cc ('k') | ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698