Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12617 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
773f8e2421
commit
63ba319483
@ -18,8 +18,8 @@ SkBorder::SkBorder(SkPaint& p, SkScalar width, BorderStyle style)
|
||||
}
|
||||
|
||||
SkBorder::SkBorder(const SkPaint paints[4],
|
||||
const SkScalar widths[4],
|
||||
const BorderStyle styles[4])
|
||||
const SkScalar widths[4],
|
||||
const BorderStyle styles[4])
|
||||
: fFlags(0) {
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
fPaints[i] = paints[i];
|
||||
@ -28,4 +28,3 @@ SkBorder::SkBorder(const SkPaint paints[4],
|
||||
memcpy(fWidths, widths, sizeof(fWidths));
|
||||
memcpy(fStyles, styles, sizeof(fStyles));
|
||||
}
|
||||
|
||||
|
@ -19,34 +19,34 @@
|
||||
class SkBorder {
|
||||
public:
|
||||
enum BorderStyle {
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kNone_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kHidden_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kDotted_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kDashed_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kSolid_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kDouble_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kGroove_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kRidge_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kInset_BorderStyle,
|
||||
/**
|
||||
/**
|
||||
*/
|
||||
kOutset_BorderStyle,
|
||||
};
|
||||
|
@ -111,4 +111,3 @@ SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {
|
||||
|
||||
return SkNEW_ARGS(SkAshmemDiscardableMemory, (fd, addr, size));
|
||||
}
|
||||
|
||||
|
@ -31,4 +31,3 @@ DEF_TEST(DiscardableMemory, reporter) {
|
||||
REPORTER_ASSERT(reporter, 0 == memcmp(ptr, testString, len));
|
||||
dm->unlock();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user