Chromium Code Reviews

Unified Diff: core/cross/canvas_paint.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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);
}
« core/cross/bitmap_dds.cc ('K') | « core/cross/buffer.cc ('k') | core/cross/client.cc » ('j') | no next file with comments »

Powered by Google App Engine