зеркало из https://github.com/mozilla/moz-skia.git
Fixing source files that do not have newlines at the end.
Found using the new unsubmitted newline_checker slave script: piraeus.cnc.corp.google.com:10125/builders/Skia_House_Keeping/builds/5/steps/shell_1/logs/stdio Review URL: https://codereview.appspot.com/6443124 git-svn-id: http://skia.googlecode.com/svn/trunk@5097 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
c0f1dfb4ed
Коммит
bda03db289
|
@ -141,4 +141,5 @@ void DebuggerCommandsView::onDraw(SkCanvas* canvas) {
|
|||
r = SkRect::MakeXYWH(this->width() - SKDEBUGGER_RESIZEBARSIZE, 0,
|
||||
SKDEBUGGER_RESIZEBARSIZE, this->height());
|
||||
canvas->drawRect(r, p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -48,4 +48,5 @@ void DebuggerStateView::onDraw(SkCanvas* canvas) {
|
|||
p.setColor(SKDEBUGGER_RESIZEBARCOLOR);
|
||||
r = SkRect::MakeXYWH(0, 0, this->width(), SKDEBUGGER_RESIZEBARSIZE);
|
||||
canvas->drawRect(r, p);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -192,4 +192,5 @@ SkColor SkColorPalette::selectColorFromGradient(SkPoint& cursorPosition) {
|
|||
retval += ((int)(g * 255) << 8);
|
||||
retval += (int)(b * 255);
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,4 +31,5 @@ private:
|
|||
typedef SkView INHERITED;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -47,4 +47,5 @@ void SkNetPipeController::notifyWritten(size_t bytes) {
|
|||
fTotalWritten += bytes;
|
||||
|
||||
fAtomsWritten += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -33,4 +33,5 @@ private:
|
|||
|
||||
SkGPipeReader::Status fStatus;
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -72,4 +72,5 @@ void ReaderView::draw(SkCanvas* canvas) {
|
|||
//the front bitmap is always drawn
|
||||
canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL);
|
||||
this->inval(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,4 +13,5 @@
|
|||
#import "SkNSView.h"
|
||||
@interface SimpleNSView : SkNSView
|
||||
- (id)initWithDefaults;
|
||||
@end
|
||||
@end
|
||||
|
||||
|
|
|
@ -43,4 +43,5 @@ class SkEvent;
|
|||
- (void)onUpdateMenu:(const SkOSMenu*)menu;
|
||||
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
|
||||
- (BOOL)onHandleEvent:(const SkEvent&)event;
|
||||
@end
|
||||
@end
|
||||
|
||||
|
|
|
@ -43,4 +43,5 @@ struct FPSState;
|
|||
|
||||
- (void)setSkTitle:(const char*)title;
|
||||
- (void)postInvalWithRect:(const SkIRect*)rectOrNil;
|
||||
@end
|
||||
@end
|
||||
|
||||
|
|
|
@ -94,4 +94,5 @@ private:
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static SkView* MyFactory() { return new GradientView; }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
||||
|
|
|
@ -52,4 +52,5 @@ private:
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static SkView* MyFactory() { return new SimpleView; }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
||||
|
|
|
@ -60,4 +60,5 @@ private:
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static SkView* MyFactory() { return new SpiralView; }
|
||||
static SkViewRegister reg(MyFactory);
|
||||
static SkViewRegister reg(MyFactory);
|
||||
|
||||
|
|
|
@ -151,4 +151,5 @@ const GrGLInterface* GrGLCreateANGLEInterface() {
|
|||
}
|
||||
glInterface.get()->ref();
|
||||
return glInterface.get();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче