| Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| index a134824ef482836d258f28fee5a57261b7e62494..652295b15bd82feaa2071c4abbb4fb95490fb36a 100644
|
| --- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| +++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| @@ -241,9 +241,10 @@ ScreenCaptureNotificationUIViews::CreateNonClientFrameView(
|
| gfx::Insets(kPadding, kPaddingLeft, kPadding, kPadding));
|
| SkColor color = widget->GetNativeTheme()->GetSystemColor(
|
| ui::NativeTheme::kColorId_DialogBackground);
|
| - views::BubbleBorder* border = new views::BubbleBorder(
|
| - views::BubbleBorder::NONE, views::BubbleBorder::SMALL_SHADOW, color);
|
| - frame->SetBubbleBorder(border);
|
| + frame->SetBubbleBorder(scoped_ptr<views::BubbleBorder>(
|
| + new views::BubbleBorder(views::BubbleBorder::NONE,
|
| + views::BubbleBorder::SMALL_SHADOW,
|
| + color)));
|
| return frame;
|
| }
|
|
|
|
|