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

Unified Diff: chrome/browser/ui/views/screen_capture_notification_ui_views.cc

Issue 2009333002: Converts Widget::SetOpacity from char to float (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc
diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
index 3afbc200d2ef4fefe87e2e7bd2bb536f7139d208..3319ea29acfe136132a895f9931d86de3ede2415 100644
--- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
+++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
@@ -210,7 +210,7 @@ gfx::NativeViewId ScreenCaptureNotificationUIViews::OnStarted(
widget->SetBounds(bounds);
widget->Show();
// This has to be called after Show() to have effect.
- widget->SetOpacity(0xFF * kWindowAlphaValue);
+ widget->SetOpacity(kWindowAlphaValue);
widget->SetVisibleOnAllWorkspaces(true);
#if defined(OS_WIN)
« no previous file with comments | « chrome/browser/ui/views/exclusive_access_bubble_views.cc ('k') | chrome/browser/ui/views/status_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698