diff options
author | mtklein <mtklein@chromium.org> | 2014-08-11 10:09:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-11 10:09:34 -0700 |
commit | 534cc4c569d88c1cfa5f10d3ecf475a90278f597 (patch) | |
tree | 21a1dc359021ce9fdbfb8814e1fa504a4f541688 /src/core/SkBBHFactory.cpp | |
parent | 81cc04d0a6f1d841da75c30e3ff3cc2437d35935 (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 'src/core/SkBBHFactory.cpp')
-rw-r--r-- | src/core/SkBBHFactory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/SkBBHFactory.cpp b/src/core/SkBBHFactory.cpp index 7411eb34da..21a95fe058 100644 --- a/src/core/SkBBHFactory.cpp +++ b/src/core/SkBBHFactory.cpp @@ -6,7 +6,6 @@ */ #include "SkBBHFactory.h" -#include "SkPictureStateTree.h" #include "SkQuadTree.h" #include "SkRTree.h" #include "SkTileGrid.h" @@ -39,6 +38,5 @@ SkBBoxHierarchy* SkTileGridFactory::operator()(int width, int height) const { // "-1"s below. int xTileCount = (width + fInfo.fTileInterval.width() - 1) / fInfo.fTileInterval.width(); int yTileCount = (height + fInfo.fTileInterval.height() - 1) / fInfo.fTileInterval.height(); - return SkNEW_ARGS(SkTileGrid, (xTileCount, yTileCount, fInfo, - SkTileGridNextDatum<SkPictureStateTree::Draw>)); + return SkNEW_ARGS(SkTileGrid, (xTileCount, yTileCount, fInfo)); } |