summaryrefslogtreecommitdiffstats
path: root/ui/views/bubble
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/bubble')
-rw-r--r--ui/views/bubble/tray_bubble_view.cc2
-rw-r--r--ui/views/bubble/tray_bubble_view.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc
index d07e1d9..4e891b7 100644
--- a/ui/views/bubble/tray_bubble_view.cc
+++ b/ui/views/bubble/tray_bubble_view.cc
@@ -290,6 +290,8 @@ TrayBubbleView::InitParams::InitParams(AnchorType anchor_type,
arrow_alignment(BubbleBorder::ALIGN_EDGE_TO_ANCHOR_EDGE) {
}
+TrayBubbleView::InitParams::InitParams(const InitParams& other) = default;
+
// static
TrayBubbleView* TrayBubbleView::Create(gfx::NativeView parent_window,
View* anchor,
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index e79cdc0..22e5f76 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -96,6 +96,7 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDelegateView,
AnchorAlignment anchor_alignment,
int min_width,
int max_width);
+ InitParams(const InitParams& other);
AnchorType anchor_type;
AnchorAlignment anchor_alignment;
int min_width;