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

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 10556034: views: Get rid of DoShowAboutChromeDialog() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/about_chrome_view.cc
diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc
index 8108e9b16f7b572908a1ee2f3f105ace3ce082e2..4a3dc8ce04962c915a97ca143145ef69859a00fd 100644
--- a/chrome/browser/ui/views/about_chrome_view.cc
+++ b/chrome/browser/ui/views/about_chrome_view.cc
@@ -92,11 +92,10 @@ namespace browser {
// Declared in browser_dialogs.h so that others don't
// need to depend on our .h.
-views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, Profile* profile) {
+void ShowAboutChromeView(gfx::NativeWindow parent, Profile* profile) {
views::Widget* window = views::Widget::CreateWindowWithParent(
new AboutChromeView(profile), parent);
window->Show();
- return window;
}
} // namespace browser
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/browser_views_accessibility_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698