From f7f5b7c506e5809c178d57232b477849ea614de5 Mon Sep 17 00:00:00 2001 From: "djsollen@google.com" Date: Thu, 3 Oct 2013 17:38:50 +0000 Subject: [PATCH] update GM to use #ifdef instead of just #if Review URL: https://codereview.chromium.org/25749003 git-svn-id: http://skia.googlecode.com/svn/trunk@11590 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/androidfallback.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gm/androidfallback.cpp b/gm/androidfallback.cpp index 3ef8f1ca5..a4f10369f 100644 --- a/gm/androidfallback.cpp +++ b/gm/androidfallback.cpp @@ -30,7 +30,7 @@ protected: paint.setTextEncoding(SkPaint::kUTF16_TextEncoding); paint.setTextSize(24); -#if SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID SkPaintOptionsAndroid options = paint.getPaintOptionsAndroid(); options.setUseFontFallbacks(true); paint.setPaintOptionsAndroid(options); @@ -58,7 +58,7 @@ protected: canvas->translate(0, SkIntToScalar(75)); canvas->drawPosTextH(unicodeStr, strByteLength, posX, 0, paint); -#if SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID options.setLanguage("ja"); paint.setPaintOptionsAndroid(options); #endif @@ -80,7 +80,7 @@ private: ////////////////////////////////////////////////////////////////////////////// -#if SK_BUILD_FOR_ANDROID +#ifdef SK_BUILD_FOR_ANDROID DEF_GM( return SkNEW(AndroidFallbackGM); ) #endif