aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/debugger
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-01-08 17:09:54 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-08 22:32:51 +0000
commit185ffe916eb374ab3dfe3f42e265d26dacdd30ca (patch)
treee1a3bcdcc9465304117c53f7c0dc99ad339d9507 /tools/debugger
parentc59b03071f5b255b5ce42749ff5d8238adca13e2 (diff)
make growToInclude private
Bug: skia: Change-Id: Id55344ba2f33563d22c2bf4d5829a9a31095a47d Reviewed-on: https://skia-review.googlesource.com/92143 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Cary Clark <caryclark@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/SkDrawCommand.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/debugger/SkDrawCommand.cpp b/tools/debugger/SkDrawCommand.cpp
index 0c0d7ac0a0..34189fa6a4 100644
--- a/tools/debugger/SkDrawCommand.cpp
+++ b/tools/debugger/SkDrawCommand.cpp
@@ -21,6 +21,7 @@
#include "SkPathEffect.h"
#include "SkPicture.h"
#include "SkReadBuffer.h"
+#include "SkRectPriv.h"
#include "SkTextBlob.h"
#include "SkTextBlobRunIterator.h"
#include "SkTHash.h"
@@ -2741,7 +2742,7 @@ bool SkDrawPointsCommand::render(SkCanvas* canvas) const {
bounds.setEmpty();
for (unsigned int i = 0; i < fCount; ++i) {
- bounds.growToInclude(fPts[i]);
+ SkRectPriv::GrowToInclude(&bounds, fPts[i]);
}
xlate_and_scale_to_bounds(canvas, bounds);