Index: gm/gradtext.cpp |
diff --git a/gm/gradtext.cpp b/gm/gradtext.cpp |
index 96ce59f841e91be39f643f8f4cf19f7cee6c6fdb..47440f6d18e79ba1aac96ccbfcb89ad93f651be5 100644 |
--- a/gm/gradtext.cpp |
+++ b/gm/gradtext.cpp |
@@ -106,7 +106,11 @@ protected: |
return SkString("gradtext"); |
} |
- virtual SkISize onISize() { return SkISize::Make(500, 480); } |
+ uint32_t onGetFlags() const SK_OVERRIDE { |
+ return kSkipTiled_Flag; |
+ } |
+ |
+ SkISize onISize() SK_OVERRIDE { return SkISize::Make(500, 480); } |
static void draw_text(SkCanvas* canvas, const SkPaint& paint) { |
const char* text = "When in the course of human events"; |
@@ -127,7 +131,7 @@ protected: |
draw_text(canvas, p); |
} |
- virtual void onDraw(SkCanvas* canvas) { |
+ void onDraw(SkCanvas* canvas) SK_OVERRIDE { |
SkPaint paint; |
sk_tool_utils::set_portable_typeface(&paint); |
paint.setTextSize(SkIntToScalar(26)); |