Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@14912 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
6d3eaeabdd
commit
8e7d37d8fe
@ -1056,7 +1056,7 @@ GrDrawTargetCaps& GrDrawTargetCaps::operator=(const GrDrawTargetCaps& other) {
|
||||
|
||||
memcpy(fConfigRenderSupport, other.fConfigRenderSupport, sizeof(fConfigRenderSupport));
|
||||
memcpy(fCompressedFormatSupport, other.fCompressedFormatSupport,
|
||||
sizeof(fCompressedFormatSupport));
|
||||
sizeof(fCompressedFormatSupport));
|
||||
|
||||
return *this;
|
||||
}
|
||||
@ -1145,8 +1145,8 @@ SkString GrDrawTargetCaps::dump() const {
|
||||
|
||||
for (size_t i = 0; i < SK_ARRAY_COUNT(kCompressedFormatNames); ++i) {
|
||||
r.appendf("%s Compressed Texture Support: %s\n",
|
||||
kCompressedFormatNames[i],
|
||||
gNY[fCompressedFormatSupport[i]]);
|
||||
kCompressedFormatNames[i],
|
||||
gNY[fCompressedFormatSupport[i]]);
|
||||
}
|
||||
|
||||
return r;
|
||||
|
@ -101,4 +101,3 @@ bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst,
|
||||
bool SkInstallDiscardablePixelRef(SkImageGenerator* generator, SkBitmap* dst) {
|
||||
return SkInstallDiscardablePixelRef(generator, dst, NULL);
|
||||
}
|
||||
|
||||
|
@ -957,7 +957,7 @@ private:
|
||||
typedef SkCanvas INHERITED;
|
||||
};
|
||||
|
||||
void check_save_state(skiatest::Reporter* reporter, SkPicture* picture,
|
||||
void check_save_state(skiatest::Reporter* reporter, SkPicture* picture,
|
||||
unsigned int numSaves, unsigned int numSaveLayers,
|
||||
unsigned int numRestores) {
|
||||
SaveCountingCanvas canvas(picture->width(), picture->height());
|
||||
@ -1132,7 +1132,7 @@ static void test_unbalanced_save_restores(skiatest::Reporter* reporter) {
|
||||
REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount());
|
||||
set_canvas_to_save_count_4(&testCanvas);
|
||||
|
||||
// Check that serializing a mid-recording picture doesn't result in unbalanced
|
||||
// Check that serializing a mid-recording picture doesn't result in unbalanced
|
||||
// saves/restores
|
||||
SkDynamicMemoryWStream wStream;
|
||||
p.serialize(&wStream);
|
||||
|
Loading…
Reference in New Issue
Block a user