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/common/system/chromeos/network/network_state_list_detailed_view.cc

Issue 2639203007: Update SetPaintToLayer to accept LayerType (Closed)
Patch Set: fix comments Created 3 years, 11 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: ash/common/system/chromeos/network/network_state_list_detailed_view.cc
diff --git a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
index b87f56b16a343533cbe98c462dfb2984d34f8ab6..80908899ba9ce84d08740f14c5bd672c4d962234 100644
--- a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
+++ b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
@@ -195,7 +195,7 @@ const int kFadeIconMs = 500;
class ScanningThrobber : public ThrobberView {
public:
ScanningThrobber() {
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
layer()->SetOpacity(1.0);
accessible_name_ =
@@ -241,7 +241,7 @@ class InfoIcon : public views::ImageButton {
SetImageAlignment(ALIGN_CENTER, ALIGN_MIDDLE);
SetAccessibleName(
bundle.GetLocalizedString(IDS_ASH_STATUS_TRAY_NETWORK_INFO));
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
layer()->SetOpacity(1.0);
}

Powered by Google App Engine
This is Rietveld 408576698