diff options
Diffstat (limited to 'chrome/browser/views/clear_browsing_data.cc')
-rw-r--r-- | chrome/browser/views/clear_browsing_data.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/views/clear_browsing_data.cc b/chrome/browser/views/clear_browsing_data.cc index f6da40f..9b8cf76 100644 --- a/chrome/browser/views/clear_browsing_data.cc +++ b/chrome/browser/views/clear_browsing_data.cc @@ -29,11 +29,10 @@ static const int kExtraMarginForTimePeriodLabel = 3; namespace browser { // Defined in browser_dialogs.h for creation of the view. -void ShowClearBrowsingDataView(views::Widget* parent, +void ShowClearBrowsingDataView(gfx::NativeWindow parent, Profile* profile) { - views::Window::CreateChromeWindow( - parent->GetNativeView(), gfx::Rect(), - new ClearBrowsingDataView(profile))->Show(); + views::Window::CreateChromeWindow(parent, gfx::Rect(), + new ClearBrowsingDataView(profile))->Show(); } } // namespace browser |