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

Unified Diff: ui/views/controls/button/text_button.cc

Issue 164653002: Remove Unused AsTextButtonBorder RTTI helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ui/views/controls/button/text_button.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/text_button.cc
diff --git a/ui/views/controls/button/text_button.cc b/ui/views/controls/button/text_button.cc
index 3ebd5b7e98d11731884d5cdaf4e4835a1c03fe6c..a5c031c666c51b7ab7e7c938e52e3368736f0884 100644
--- a/ui/views/controls/button/text_button.cc
+++ b/ui/views/controls/button/text_button.cc
@@ -88,14 +88,6 @@ void TextButtonBorder::SetInsets(const gfx::Insets& insets) {
insets_ = insets;
}
-TextButtonBorder* TextButtonBorder::AsTextButtonBorder() {
- return this;
-}
-
-const TextButtonBorder* TextButtonBorder::AsTextButtonBorder() const {
- return this;
-}
-
// TextButtonDefaultBorder ----------------------------------------------------
« no previous file with comments | « ui/views/controls/button/text_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698