aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-08-11 10:09:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-11 10:09:34 -0700
commit534cc4c569d88c1cfa5f10d3ecf475a90278f597 (patch)
tree21a1dc359021ce9fdbfb8814e1fa504a4f541688 /tests
parent81cc04d0a6f1d841da75c30e3ff3cc2437d35935 (diff)
De-parameterize SkNextDatumFunction.
Just a simple refactor to make it clear we're only using this one method and this one type. BUG=skia: R=robertphillips@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/465523002
Diffstat (limited to 'tests')
-rw-r--r--tests/TileGridTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TileGridTest.cpp b/tests/TileGridTest.cpp
index 6daee16bd2..f6a9f876eb 100644
--- a/tests/TileGridTest.cpp
+++ b/tests/TileGridTest.cpp
@@ -37,7 +37,7 @@ static void verifyTileHits(skiatest::Reporter* reporter, SkIRect rect,
info.fMargin.set(borderPixels, borderPixels);
info.fOffset.setZero();
info.fTileInterval.set(10 - 2 * borderPixels, 10 - 2 * borderPixels);
- SkTileGrid grid(2, 2, info, NULL);
+ SkTileGrid grid(2, 2, info);
grid.insert(NULL, rect, false);
REPORTER_ASSERT(reporter, grid.tileCount(0, 0) ==
((tileMask & kTopLeft_Tile)? 1 : 0));