Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
index 9d1ff7d07306d10813cb6f2165dd99d895bf867c..1acc60e77d648e7ac01fefcd6fd3204a03695567 100644 |
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
@@ -6,6 +6,7 @@ |
#include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
#include "ui/accessibility/ax_node_data.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/color_utils.h" |
#include "ui/gfx/scoped_canvas.h" |
@@ -143,14 +144,14 @@ void IconLabelBubbleView::OnNativeThemeChanged( |
} |
void IconLabelBubbleView::AddInkDropLayer(ui::Layer* ink_drop_layer) { |
- image()->SetPaintToLayer(true); |
+ image()->SetPaintToLayer(ui::LAYER_TEXTURED); |
image()->layer()->SetFillsBoundsOpaquely(false); |
InkDropHostView::AddInkDropLayer(ink_drop_layer); |
} |
void IconLabelBubbleView::RemoveInkDropLayer(ui::Layer* ink_drop_layer) { |
InkDropHostView::RemoveInkDropLayer(ink_drop_layer); |
- image()->SetPaintToLayer(false); |
+ image()->SetPaintToLayer(ui::LAYER_NOT_DRAWN); |
} |
std::unique_ptr<views::InkDropHighlight> |