summaryrefslogtreecommitdiffstats
path: root/ui/gfx/canvas_skia.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 18:47:20 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 18:47:20 +0000
commit4159e7f4840e961b69e4f9438a5858d0b3fe6e63 (patch)
tree014e23d7e937a99e6e9d98ca005622f8dfbe9935 /ui/gfx/canvas_skia.cc
parent2cc986c47746f59aad961b0791fd1620ff599d70 (diff)
downloadchromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.zip
chromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.tar.gz
chromium_src-4159e7f4840e961b69e4f9438a5858d0b3fe6e63.tar.bz2
mac: Prepare for -Wunused-functions.
Mostly involves deleting hundreds of lines of unused code. BUG=315884 R=akalin@chromium.org, brettw@chromium.org, fischman@chromium.org, jamesr@chromium.org, sky@chromium.org, thestig@chromium.org TBR=piman, youngki Review URL: https://codereview.chromium.org/63153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas_skia.cc')
-rw-r--r--ui/gfx/canvas_skia.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gfx/canvas_skia.cc b/ui/gfx/canvas_skia.cc
index c919fe1..1ad60ba 100644
--- a/ui/gfx/canvas_skia.cc
+++ b/ui/gfx/canvas_skia.cc
@@ -20,6 +20,7 @@ namespace gfx {
namespace {
+#if defined(OS_WIN)
// If necessary, wraps |text| with RTL/LTR directionality characters based on
// |flags| and |text| content.
// Returns true if the text will be rendered right-to-left.
@@ -52,6 +53,7 @@ bool AdjustStringDirection(int flags, base::string16* text) {
// locales it will be handled by the if statement above).
return false;
}
+#endif // defined(OS_WIN)
// Checks each pixel immediately adjacent to the given pixel in the bitmap. If
// any of them are not the halo color, returns true. This defines the halo of