Commit 2be4c27e authored by Biao She's avatar Biao She Committed by Commit Bot

Minor code cleanup

Remove unnecesary call to set background distance.

Bug: none
Change-Id: I2060a7c3b2d239ca7e03fb30ca5995b706452ece
Reviewed-on: https://chromium-review.googlesource.com/742163Reviewed-by: default avatarChristopher Grant <cjgrant@chromium.org>
Commit-Queue: Biao She <bshe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512524}
parent 209944ff
......@@ -914,8 +914,6 @@ void UiSceneManager::ConfigureScene() {
-kCloseButtonDistance);
close_button_->SetSize(kCloseButtonWidth, kCloseButtonHeight);
}
scene_->set_background_distance(kContentDistance *
kBackgroundDistanceMultiplier);
scene_->root_element().SetMode(mode());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment