Index: views/controls/button/text_button.h |
diff --git a/views/controls/button/text_button.h b/views/controls/button/text_button.h |
index 2a2c45047dfc9e2a33f4419883da6444eedcc5c5..3373bc5829c2682a6ac9a2a04e7c75322b3648ed 100644 |
--- a/views/controls/button/text_button.h |
+++ b/views/controls/button/text_button.h |
@@ -407,13 +407,6 @@ class VIEWS_EXPORT NativeTextButton : public TextButton { |
NativeTextButton(ButtonListener* listener); |
NativeTextButton(ButtonListener* listener, const std::wstring& text); |
- // Sets/Gets the text to be used as the button's label. |
- // TODO: Remove this function and replace all call sites with SetText(). |
- void SetLabel(const std::wstring& label) { |
- SetText(label); |
- } |
- std::wstring label() const { return text(); } |
- |
// Overridden from TextButton: |
virtual gfx::Size GetMinimumSize() OVERRIDE; |