changeset 497:6abc53f00792 Android_Skia

It may not need to call unref() for xfermode object. unref() makes compile-time fault. It seems Skia don't want we to call it. It is removed temporary and should be reviewed, later.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 26 Nov 2009 15:03:01 +0800
parents 71ad34f73a6e
children 6fc6061fff58
files src/graph_engine_skia.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/graph_engine_skia.cpp	Thu Nov 26 15:03:01 2009 +0800
+++ b/src/graph_engine_skia.cpp	Thu Nov 26 15:03:01 2009 +0800
@@ -757,7 +757,7 @@
     _prepare_paint(canvas, SkPaint::kFill_Style);
     mode = SkPorterDuff::CreateXfermode(SkPorterDuff::kSrc_Mode);
     paint->setXfermode(mode);
-    mode->unref();
+    /* mode->unref(); */
 
     canvas->canvas->drawPaint(*paint);