summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-26 19:30:34 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-26 19:30:34 +0000
commitd5f942bab2af72892413a3080fb7468b0bbef713 (patch)
treeec5e97ea265fba45bb1f6102bc1aed4001f9898b /chrome/browser/browser_about_handler.cc
parente711c4dded8a24f780c039e545d7378937e1388b (diff)
downloadchromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.zip
chromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.tar.gz
chromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.tar.bz2
Reorganize the declarations to have some grouping and logical ordering in tab contents and web contents. Reorder the derived classes overrides to match, and reorder the definitions of the functions to match the order in the header file.
This doesn't actually change any code. I removed a few functions that were declared but never implemented (!) as well as some that were marked vitual but were never overridden. I renamed some things to make them more consistent. Review URL: http://codereview.chromium.org/5005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 4b8ac12..a7073d2 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -198,7 +198,7 @@ BrowserAboutHandler::BrowserAboutHandler(Profile* profile,
SiteInstance* instance,
RenderViewHostFactory* render_view_factory) :
WebContents(profile, instance, render_view_factory, MSG_ROUTING_NONE, NULL) {
- type_ = TAB_CONTENTS_ABOUT_UI;
+ set_type(TAB_CONTENTS_ABOUT_UI);
// We only need to register the AboutSource once and it is
// kept globally. There is currently no way to remove a data source.