Fix DebugCanvas(SkIRect) constructor.
Change-Id: Ie4f24ca0f6bce03b665c8b517c0ed80cc57b0588 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/306726 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
994ce8cf23
commit
214de11183
@ -86,9 +86,8 @@ DebugCanvas::DebugCanvas(int width, int height)
|
||||
this->INHERITED::onClipRect(large, kReplace_SkClipOp, kHard_ClipEdgeStyle);
|
||||
}
|
||||
|
||||
DebugCanvas::DebugCanvas(SkIRect bounds) {
|
||||
DebugCanvas(bounds.width(), bounds.height());
|
||||
}
|
||||
DebugCanvas::DebugCanvas(SkIRect bounds)
|
||||
: DebugCanvas(bounds.width(), bounds.height()) {}
|
||||
|
||||
DebugCanvas::~DebugCanvas() { fCommandVector.deleteAll(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user