Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5705 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
2cf84ec1e1
commit
44d498812a
@ -64,7 +64,7 @@ void SkCanvasWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkCanvasWidget::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkCanvasWidget::staticMetaObject = {
|
||||
|
@ -128,7 +128,7 @@ void SkDebuggerGUI::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _i
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkDebuggerGUI::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkDebuggerGUI::staticMetaObject = {
|
||||
|
@ -54,7 +54,7 @@ void SkGLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkGLWidget::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkGLWidget::staticMetaObject = {
|
||||
|
@ -46,7 +46,7 @@ void SkInspectorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkInspectorWidget::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkInspectorWidget::staticMetaObject = {
|
||||
|
@ -54,7 +54,7 @@ void SkRasterWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkRasterWidget::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkRasterWidget::staticMetaObject = {
|
||||
|
@ -67,7 +67,7 @@ void SkSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
}
|
||||
|
||||
const QMetaObjectExtraData SkSettingsWidget::staticMetaObjectExtraData = {
|
||||
0, qt_static_metacall
|
||||
0, qt_static_metacall
|
||||
};
|
||||
|
||||
const QMetaObject SkSettingsWidget::staticMetaObject = {
|
||||
|
@ -74,7 +74,7 @@ int main (int argc, char * const argv[]) {
|
||||
const char opMarker[] =
|
||||
"</div>" "\n"
|
||||
"\n"
|
||||
"<script type=\"text/javascript\">" "\n"
|
||||
"<script type=\"text/javascript\">" "\n"
|
||||
"\n"
|
||||
"var testDivs = [" "\n"
|
||||
;
|
||||
@ -85,7 +85,7 @@ int main (int argc, char * const argv[]) {
|
||||
const char newMarker[] =
|
||||
"static void (*firstTest)() = "
|
||||
;
|
||||
const char newMarker2[] =
|
||||
const char newMarker2[] =
|
||||
";" "\n"
|
||||
"\n"
|
||||
"static struct {" "\n"
|
||||
|
@ -94,8 +94,8 @@ static void make_3x3_bitmap(SkBitmap* bitmap) {
|
||||
static const int gYSize = 3;
|
||||
|
||||
SkColor textureData[gXSize][gYSize] = {
|
||||
SK_ColorRED, SK_ColorWHITE, SK_ColorBLUE,
|
||||
SK_ColorGREEN, SK_ColorBLACK, SK_ColorCYAN,
|
||||
SK_ColorRED, SK_ColorWHITE, SK_ColorBLUE,
|
||||
SK_ColorGREEN, SK_ColorBLACK, SK_ColorCYAN,
|
||||
SK_ColorYELLOW, SK_ColorGRAY, SK_ColorMAGENTA
|
||||
};
|
||||
|
||||
@ -163,7 +163,7 @@ static void make_big_bitmap(SkBitmap* bitmap) {
|
||||
SkAutoLockPixels lock(*bitmap);
|
||||
for (int y = 0; y < gYSize; ++y) {
|
||||
for (int x = 0; x < gXSize; ++x) {
|
||||
if (x <= gBorderWidth || x >= gXSize-gBorderWidth ||
|
||||
if (x <= gBorderWidth || x >= gXSize-gBorderWidth ||
|
||||
y <= gBorderWidth || y >= gYSize-gBorderWidth) {
|
||||
*bitmap->getAddr32(x, y) = 0x88FFFFFF;
|
||||
} else {
|
||||
|
@ -159,7 +159,7 @@ static void toString(const void* text, size_t byteLen, SkPaint::TextEncoding enc
|
||||
|
||||
static SkBitmap make_wideopen_bm() {
|
||||
static const int WIDE_OPEN = 16384;
|
||||
|
||||
|
||||
SkBitmap bm;
|
||||
bm.setConfig(SkBitmap::kNo_Config, WIDE_OPEN, WIDE_OPEN);
|
||||
return bm;
|
||||
|
Loading…
Reference in New Issue
Block a user