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

Unified Diff: ui/gfx/render_text_unittest.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak, rebase Created 8 years, 3 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
Index: ui/gfx/render_text_unittest.cc
diff --git a/ui/gfx/render_text_unittest.cc b/ui/gfx/render_text_unittest.cc
index 2680800e30bc308ff9ae6d3845e52a9328b70020..402e3e66edb4f80a3e2fb69f7435979dca4c7ddb 100644
--- a/ui/gfx/render_text_unittest.cc
+++ b/ui/gfx/render_text_unittest.cc
@@ -38,6 +38,7 @@ bool IndexInRange(const ui::Range& range, size_t index) {
return index >= range.start() && index < range.end();
}
+#if !defined(OS_MACOSX)
// A test utility function to set the application default text direction.
void SetRTL(bool rtl) {
// Override the current locale/direction.
@@ -48,6 +49,7 @@ void SetRTL(bool rtl) {
#endif
EXPECT_EQ(rtl, base::i18n::IsRTL());
}
+#endif
} // namespace

Powered by Google App Engine
This is Rietveld 408576698