| Index: ash/sticky_keys/sticky_keys_overlay.h
|
| diff --git a/ash/sticky_keys/sticky_keys_overlay.h b/ash/sticky_keys/sticky_keys_overlay.h
|
| index 63917941a4c4bfe872d9b88ca35efa0bc5f69513..a257b0d215307cbecebb160a1f769a8b5b87f4e0 100644
|
| --- a/ash/sticky_keys/sticky_keys_overlay.h
|
| +++ b/ash/sticky_keys/sticky_keys_overlay.h
|
| @@ -61,9 +61,10 @@ class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver {
|
| void OnLayerAnimationScheduled(ui::LayerAnimationSequence* sequence) override;
|
|
|
| bool is_visible_;
|
| + // Note: keep the order the same. |overlay_view_| must outlive
|
| + // |overlay_widget_|.
|
| + scoped_ptr<StickyKeysOverlayView> overlay_view_;
|
| scoped_ptr<views::Widget> overlay_widget_;
|
| - // Ownership of |overlay_view_| is passed to the view heirarchy.
|
| - StickyKeysOverlayView* overlay_view_;
|
| gfx::Size widget_size_;
|
| };
|
|
|
|
|