| Index: core/cross/canvas_paint.cc
|
| ===================================================================
|
| --- core/cross/canvas_paint.cc (revision 21208)
|
| +++ core/cross/canvas_paint.cc (working copy)
|
| @@ -95,7 +95,7 @@
|
| };
|
|
|
| StrokeDrawLooper::StrokeDrawLooper(SkScalar radius, SkColor color)
|
| - : fColor(color), fRadius(radius) {
|
| + : fRadius(radius), fColor(color) {
|
| }
|
|
|
| void StrokeDrawLooper::init(SkCanvas* canvas, SkPaint* paint) {
|
| @@ -175,17 +175,17 @@
|
| : ParamObject(service_locator),
|
| shader_(NULL),
|
| needs_update_(true),
|
| + text_align_(LEFT),
|
| color_(Float4(0, 0, 0, 1)),
|
| - text_align_(LEFT),
|
| text_size_(10),
|
| + text_typeface_(""),
|
| + text_style_(NORMAL),
|
| + outline_radius_(0),
|
| + outline_color_(Float4(0, 0, 0, 1)),
|
| shadow_radius_(0),
|
| - shadow_color_(Float4(0, 0, 0, 1)),
|
| shadow_offset_x_(0),
|
| shadow_offset_y_(0),
|
| - outline_radius_(0),
|
| - outline_color_(Float4(0, 0, 0, 1)),
|
| - text_style_(NORMAL),
|
| - text_typeface_("") {
|
| + shadow_color_(Float4(0, 0, 0, 1)) {
|
| sk_paint_.setAntiAlias(true);
|
| }
|
|
|
|
|