Change type of line_ to size_t for consistency.

Change-Id: I8a15cc727dadd5f6ea9f60bd2443df068167e07c
This commit is contained in:
Gary Qian
2017-08-07 17:09:04 -07:00
parent f1daa1e629
commit 843d2bd71d
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ PaintRecord::PaintRecord(TextStyle style,
SkPoint offset,
sk_sp<SkTextBlob> text,
SkPaint::FontMetrics metrics,
int line,
size_t line,
double run_width)
: style_(style),
offset_(offset),
@@ -37,7 +37,7 @@ PaintRecord::PaintRecord(TextStyle style,
PaintRecord::PaintRecord(TextStyle style,
sk_sp<SkTextBlob> text,
SkPaint::FontMetrics metrics,
int line,
size_t line,
double run_width)
: style_(style),
text_(std::move(text)),

View File

@@ -38,13 +38,13 @@ class PaintRecord {
SkPoint offset,
sk_sp<SkTextBlob> text,
SkPaint::FontMetrics metrics,
int line,
size_t line,
double run_width);
PaintRecord(TextStyle style,
sk_sp<SkTextBlob> text,
SkPaint::FontMetrics metrics,
int line,
size_t line,
double run_width);
PaintRecord(PaintRecord&& other);