Index: ui/views/window/dialog_delegate.h |
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h |
index dc9f89a1aac7501fb8e8b77142ad013d864f2741..5d4fc5a9ffcb3f29098a1636be55f74102836ac5 100644 |
--- a/ui/views/window/dialog_delegate.h |
+++ b/ui/views/window/dialog_delegate.h |
@@ -63,7 +63,7 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel, |
// Override this function to display a footnote view below the buttons. |
// Overrides may construct the view; this will only be called once per dialog. |
- virtual View* CreateFootnoteView(); |
+ virtual scoped_ptr<View> CreateFootnoteView(); |
// For Dialog boxes, if there is a "Cancel" button or no dialog button at all, |
// this is called when the user presses the "Cancel" button or the Esc key. |