Style bikeshed - remove extraneous whitespace
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002
Review URL: https://codereview.chromium.org/1842753002
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 6a11db5..258343a 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -2235,7 +2235,7 @@
return;
}
}
-
+
SkLazyPaint lazy;
if (nullptr == paint) {
paint = lazy.init();
@@ -2272,7 +2272,7 @@
iter.fDevice->drawImage(iter, image, x, y, pnt);
}
}
-
+
LOOPER_END
}
@@ -2292,14 +2292,14 @@
if (nullptr == paint) {
paint = lazy.init();
}
-
+
LOOPER_BEGIN_CHECK_COMPLETE_OVERWRITE(*paint, SkDrawFilter::kBitmap_Type, &dst,
image->isOpaque())
-
+
while (iter.next()) {
iter.fDevice->drawImageRect(iter, image, src, dst, looper.paint(), constraint);
}
-
+
LOOPER_END
}
@@ -2397,25 +2397,25 @@
void SkCanvas::onDrawImageNine(const SkImage* image, const SkIRect& center, const SkRect& dst,
const SkPaint* paint) {
TRACE_EVENT0("disabled-by-default-skia", "SkCanvas::drawImageNine()");
-
+
if (nullptr == paint || paint->canComputeFastBounds()) {
SkRect storage;
if (this->quickReject(paint ? paint->computeFastBounds(dst, &storage) : dst)) {
return;
}
}
-
+
SkLazyPaint lazy;
if (nullptr == paint) {
paint = lazy.init();
}
-
+
LOOPER_BEGIN(*paint, SkDrawFilter::kBitmap_Type, &dst)
-
+
while (iter.next()) {
iter.fDevice->drawImageNine(iter, image, center, dst, looper.paint());
}
-
+
LOOPER_END
}
@@ -2430,18 +2430,18 @@
return;
}
}
-
+
SkLazyPaint lazy;
if (nullptr == paint) {
paint = lazy.init();
}
-
+
LOOPER_BEGIN(*paint, SkDrawFilter::kBitmap_Type, &dst)
-
+
while (iter.next()) {
iter.fDevice->drawBitmapNine(iter, bitmap, center, dst, looper.paint());
}
-
+
LOOPER_END
}
@@ -2740,7 +2740,7 @@
if (paint) {
pnt = *paint;
}
-
+
LOOPER_BEGIN(pnt, SkDrawFilter::kPath_Type, nullptr)
while (iter.next()) {
iter.fDevice->drawAtlas(iter, atlas, xform, tex, colors, count, mode, pnt);