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..525fc10bfeaf78a04ff7cda676c3a360068bf600 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 |
@@ -55,6 +55,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/compositor/layer.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/compositor/scoped_layer_animation_settings.h" |
#include "ui/gfx/text_constants.h" |
#include "ui/views/bubble/bubble_dialog_delegate.h" |
@@ -195,7 +196,7 @@ const int kFadeIconMs = 500; |
class ScanningThrobber : public ThrobberView { |
public: |
ScanningThrobber() { |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetFillsBoundsOpaquely(false); |
layer()->SetOpacity(1.0); |
accessible_name_ = |
@@ -241,7 +242,7 @@ class InfoIcon : public views::ImageButton { |
SetImageAlignment(ALIGN_CENTER, ALIGN_MIDDLE); |
SetAccessibleName( |
bundle.GetLocalizedString(IDS_ASH_STATUS_TRAY_NETWORK_INFO)); |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetFillsBoundsOpaquely(false); |
layer()->SetOpacity(1.0); |
} |