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

Unified Diff: components/exo/shell_surface.cc

Issue 2291923002: Check target value
Patch Set: Test Created 4 years, 4 months 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
« no previous file with comments | « ash/rotator/window_rotation.cc ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index 6248a27c13212c96588327d4db216d9844e79d12..e98dfc48ff9871fa0ef1cf2e99a02b5012550e53 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -1274,10 +1274,10 @@ void ShellSurface::UpdateShadow() {
// TODO(oshima): Setting to the same value should be no-op.
// crbug.com/642223.
- if (shadow_underlay_opacity !=
- shadow_underlay_->layer()->GetTargetOpacity()) {
+ //if (shadow_underlay_opacity !=
+ //shadow_underlay_->layer()->GetTargetOpacity()) {
shadow_underlay_->layer()->SetOpacity(shadow_underlay_opacity);
- }
+ //}
shadow_underlay_->Show();
« no previous file with comments | « ash/rotator/window_rotation.cc ('k') | ui/compositor/layer_animation_element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698