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

Unified Diff: gm/gradtext.cpp

Issue 811753003: Enable new gradients + suppress gms for now (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update ignore tests Created 6 years 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 | « expectations/gm/ignored-tests.txt ('k') | gyp/skia_for_chromium_defines.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « expectations/gm/ignored-tests.txt ('k') | gyp/skia_for_chromium_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698