more extra semis
Hopefully with better grepping. Bug: skia: Change-Id: I434f2b1fedc2eff2d62cf80b13ebb1bd71a1c8a1 Reviewed-on: https://skia-review.googlesource.com/c/181166 Commit-Queue: Kevin Lubick <kjlubick@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com> Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
This commit is contained in:
parent
070cbafd6b
commit
13486cbf56
@ -57,7 +57,7 @@ SkSurface_Compute::onNewCanvas()
|
||||
|
||||
// skc_interop_size_get(compute->interop,&w,&h); TODO skc.h
|
||||
|
||||
SkDevice_Compute * const device_compute = new SkDevice_Compute(compute,w,h);;
|
||||
SkDevice_Compute * const device_compute = new SkDevice_Compute(compute,w,h);
|
||||
SkCanvas * const canvas = new SkCanvas(device_compute,SkCanvas::kConservativeRasterClip_InitFlag);
|
||||
|
||||
//
|
||||
|
@ -5415,7 +5415,7 @@ DEF_TEST(path_last_move_to_index, r) {
|
||||
}
|
||||
}, ©Path);
|
||||
|
||||
SkScalar radii[] = { 80, 100, 0, 0, 40, 60, 0, 0 };;
|
||||
SkScalar radii[] = { 80, 100, 0, 0, 40, 60, 0, 0 };
|
||||
SkPath path;
|
||||
path.addRoundRect({10, 10, 110, 110}, radii);
|
||||
path.offset(0, 5, &(copyPath)); // <== change buffer copyPath.fPathRef->fPoints but not reset copyPath.fLastMoveToIndex lead to out of bound
|
||||
|
2
third_party/skcms/skcms.cc
vendored
2
third_party/skcms/skcms.cc
vendored
@ -1722,7 +1722,7 @@ bool skcms_ApproximateCurve(const skcms_Curve* curve,
|
||||
int mid = (L + N) / 2;
|
||||
float mid_x = mid / (N - 1.0f);
|
||||
float mid_y = eval_curve(curve, mid_x);
|
||||
tf.g = log2f_(mid_y) / log2f_(mid_x);;
|
||||
tf.g = log2f_(mid_y) / log2f_(mid_x);
|
||||
tf.a = 1;
|
||||
tf.b = 0;
|
||||
tf.e = tf.c*tf.d + tf.f
|
||||
|
@ -74,11 +74,11 @@ bool Window_win::init(HINSTANCE hInstance) {
|
||||
wcex.cbWndExtra = 0;
|
||||
wcex.hInstance = fHInstance;
|
||||
wcex.hIcon = LoadIcon(fHInstance, (LPCTSTR)IDI_WINLOGO);
|
||||
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);;
|
||||
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||
wcex.lpszMenuName = nullptr;
|
||||
wcex.lpszClassName = gSZWindowClass;
|
||||
wcex.hIconSm = LoadIcon(fHInstance, (LPCTSTR)IDI_WINLOGO);;
|
||||
wcex.hIconSm = LoadIcon(fHInstance, (LPCTSTR)IDI_WINLOGO);
|
||||
|
||||
if (!RegisterClassEx(&wcex)) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user