summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:33:22 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-23 19:33:22 +0000
commit61ab54812660928e3bb711104daf880c7685ad16 (patch)
treef449a7fa37d5601f121ddbf851b8a656a0a5b704 /views/controls
parentb482147a9e98a8492940e9293f9b922c63720f91 (diff)
downloadchromium_src-61ab54812660928e3bb711104daf880c7685ad16.zip
chromium_src-61ab54812660928e3bb711104daf880c7685ad16.tar.gz
chromium_src-61ab54812660928e3bb711104daf880c7685ad16.tar.bz2
removing unnecessary invocations of super class constructor
TEST=none BUG=none Review URL: http://codereview.chromium.org/220012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/button/native_button_gtk.cc3
-rw-r--r--views/controls/button/native_button_win.cc3
2 files changed, 2 insertions, 4 deletions
diff --git a/views/controls/button/native_button_gtk.cc b/views/controls/button/native_button_gtk.cc
index d1fb0ef4..ce7ab64 100644
--- a/views/controls/button/native_button_gtk.cc
+++ b/views/controls/button/native_button_gtk.cc
@@ -17,8 +17,7 @@
namespace views {
NativeButtonGtk::NativeButtonGtk(NativeButton* native_button)
- : NativeControlGtk(),
- native_button_(native_button) {
+ : native_button_(native_button) {
// Associates the actual GtkWidget with the native_button so the native_button
// is the one considered as having the focus (not the wrapper) when the
// GtkWidget is focused directly (with a click for example).
diff --git a/views/controls/button/native_button_win.cc b/views/controls/button/native_button_win.cc
index 00ec3cc..3425aee 100644
--- a/views/controls/button/native_button_win.cc
+++ b/views/controls/button/native_button_win.cc
@@ -18,8 +18,7 @@ namespace views {
// NativeButtonWin, public:
NativeButtonWin::NativeButtonWin(NativeButton* native_button)
- : NativeControlWin(),
- native_button_(native_button) {
+ : native_button_(native_button) {
// Associates the actual HWND with the native_button so the native_button is
// the one considered as having the focus (not the wrapper) when the HWND is
// focused directly (with a click for example).