зеркало из https://github.com/mozilla/moz-skia.git
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8851 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
18c41acf35
Коммит
83f0d302e8
|
@ -85,5 +85,3 @@ DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL,
|
|||
DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, false);)
|
||||
DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, true);)
|
||||
DEF_BENCH(return new BlurImageFilterBench(p, BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, false);)
|
||||
|
||||
|
||||
|
|
|
@ -224,4 +224,3 @@ DEF_BENCH( return new LightingDistantLitSpecularBench(p, true); )
|
|||
DEF_BENCH( return new LightingDistantLitSpecularBench(p, false); )
|
||||
DEF_BENCH( return new LightingSpotLitSpecularBench(p, true); )
|
||||
DEF_BENCH( return new LightingSpotLitSpecularBench(p, false); )
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ protected:
|
|||
private:
|
||||
// Indicates what form (or if) the stream has been requested.
|
||||
State fState;
|
||||
|
||||
|
||||
// TODO(vandebo): Use SkData (after removing deprecated constructor).
|
||||
SkAutoTUnref<SkStream> fData;
|
||||
SkAutoTUnref<SkPDFStream> fSubstitute;
|
||||
|
|
|
@ -286,7 +286,7 @@ static void TestFlateDecode(skiatest::Reporter* reporter) {
|
|||
if (!SkFlate::HaveFlate()) {
|
||||
return;
|
||||
}
|
||||
SkBitmap bitmap;
|
||||
SkBitmap bitmap;
|
||||
setup_bitmap(&bitmap, 10, 10);
|
||||
TestImage(reporter, bitmap,
|
||||
"/Subtype /Image\n"
|
||||
|
@ -428,7 +428,7 @@ static void TestPDFPrimitives(skiatest::Reporter* reporter) {
|
|||
|
||||
test_issue1083();
|
||||
|
||||
TestImages(reporter);
|
||||
TestImages(reporter);
|
||||
}
|
||||
|
||||
#include "TestClassDef.h"
|
||||
|
|
|
@ -238,7 +238,7 @@ public:
|
|||
mockCanvas.translate(SkFloatToScalar(-8.0f), SkFloatToScalar(-8.0f));
|
||||
picture.draw(&mockCanvas);
|
||||
// This test passes by not asserting. We do not validate the rects recorded
|
||||
// because the result is numerically unstable (floating point equality).
|
||||
// because the result is numerically unstable (floating point equality).
|
||||
// The content of any one of the four tiles of the tilegrid would be a valid
|
||||
// result since any bbox that covers the center point of the canvas will be
|
||||
// recorded in all four tiles.
|
||||
|
|
|
@ -90,7 +90,7 @@ static bool encode_to_dct_stream(SkWStream* stream, const SkBitmap& bitmap, cons
|
|||
SkAssertResult(bitmap.extractSubset(&subset, rect));
|
||||
bitmapToUse = ⊂
|
||||
}
|
||||
|
||||
|
||||
#if defined(SK_BUILD_FOR_MAC)
|
||||
// Workaround bug #1043 where bitmaps with referenced pixels cause
|
||||
// CGImageDestinationFinalize to crash
|
||||
|
@ -245,7 +245,7 @@ static void parse_commandline(int argc, char* const argv[],
|
|||
if (gJpegQuality < -1 || gJpegQuality > 100) {
|
||||
SkDebugf("Invalid argument for --jpegQuality\n");
|
||||
usage(argv0);
|
||||
exit(-1);
|
||||
exit(-1);
|
||||
}
|
||||
} else {
|
||||
inputs->push_back(SkString(*argv));
|
||||
|
|
Загрузка…
Ссылка в новой задаче