Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3527)

Unified Diff: chrome/browser/ui/views/toolbar/browser_actions_container.cc

Issue 2637383003: Change Painter factory functions to unique_ptr (Closed)
Patch Set: msw review Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk_ui.cc ('k') | ui/views/background.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/browser_actions_container.cc
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.cc b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
index 87fc6889f31ce60e6093caa189b896f7bd50b5a5..ba8992f3c0e0b6c9de3ee77d0eca4e0b40dff038 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.cc
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.cc
@@ -95,8 +95,8 @@ BrowserActionsContainer::BrowserActionsContainer(
AddChildView(resize_area_);
const int kWarningImages[] = IMAGE_GRID(IDR_DEVELOPER_MODE_HIGHLIGHT);
- warning_highlight_painter_.reset(
- views::Painter::CreateImageGridPainter(kWarningImages));
+ warning_highlight_painter_ =
+ views::Painter::CreateImageGridPainter(kWarningImages);
}
}
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk_ui.cc ('k') | ui/views/background.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698