summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 00:23:51 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 00:23:51 +0000
commita2848fd3865325eb9a15797e0345c6205dbb5684 (patch)
tree3d96e828f8e82aa4a0dbb000f51484b161dfa40d /views
parentafc6e19caa750eaeedd97a3a0b120f4b0e7fb956 (diff)
downloadchromium_src-a2848fd3865325eb9a15797e0345c6205dbb5684.zip
chromium_src-a2848fd3865325eb9a15797e0345c6205dbb5684.tar.gz
chromium_src-a2848fd3865325eb9a15797e0345c6205dbb5684.tar.bz2
Fixed Clang error to http://codereview.chromium.org/6770014/
BUG=none TEST=none TBR=sky@chromium.org Review URL: http://codereview.chromium.org/6749046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/button/native_button.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/views/controls/button/native_button.h b/views/controls/button/native_button.h
index 4c0e7fa..f3cec27 100644
--- a/views/controls/button/native_button.h
+++ b/views/controls/button/native_button.h
@@ -120,8 +120,8 @@ class NativeButton : public TextButton {
DISALLOW_COPY_AND_ASSIGN(NativeButton);
};
-#elif defined(OS_WIN)
-// TODO(saintlou): Windows does not like typedef, in particluar it
+#else
+// TODO(saintlou): Windows and Clang do not like typedef, it
// chokes in other modules that have a forward declaration for
// NativeButton
class NativeButton : public NativeButtonBase {
@@ -133,9 +133,6 @@ class NativeButton : public NativeButtonBase {
private:
DISALLOW_COPY_AND_ASSIGN(NativeButton);
};
-#else
-// Keep the same implementation as before for non-touch case
-typedef NativeButtonBase NativeButton;
#endif
} // namespace views