Index: ui/views/examples/bubble_example.cc |
diff --git a/ui/views/examples/bubble_example.cc b/ui/views/examples/bubble_example.cc |
index b2b10177e4da719149c25b0f3cbec168ecfaae8e..c562315886509258fdfe17ff98a3742434bde060 100644 |
--- a/ui/views/examples/bubble_example.cc |
+++ b/ui/views/examples/bubble_example.cc |
@@ -38,8 +38,10 @@ BubbleConfig kFadeOutConfig = { ASCIIToUTF16("FadeOut"), SK_ColorWHITE, NULL, |
class ExampleBubbleDelegateView : public BubbleDelegateView { |
public: |
ExampleBubbleDelegateView(const BubbleConfig& config) |
- : BubbleDelegateView(config.anchor_view, config.arrow, config.color), |
- label_(config.label) {} |
+ : BubbleDelegateView(config.anchor_view, config.arrow), |
+ label_(config.label) { |
+ set_color(config.color); |
+ } |
protected: |
virtual void Init() OVERRIDE { |