From 07f26976f74f800368258eb915dfe00d316febe2 Mon Sep 17 00:00:00 2001 From: weiliangc Date: Tue, 20 Jan 2015 05:57:06 -0800 Subject: [PATCH] Remove unused TileGridInfo Chromium no longer uses TileGridInfo as of CL 856853003 and remove this from skia. BUG=chromium:447662 Review URL: https://codereview.chromium.org/828503004 --- include/core/SkBBHFactory.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/core/SkBBHFactory.h b/include/core/SkBBHFactory.h index 490a6b5c07..57baf6beb9 100644 --- a/include/core/SkBBHFactory.h +++ b/include/core/SkBBHFactory.h @@ -8,7 +8,6 @@ #ifndef SkBBHFactory_DEFINED #define SkBBHFactory_DEFINED -#include "SkSize.h" #include "SkRect.h" class SkBBoxHierarchy; @@ -29,25 +28,4 @@ private: typedef SkBBHFactory INHERITED; }; -// TODO(mtklein): delete entirely when Chromium's clean for TileGridInfo -class SK_API SkTileGridFactory { -public: - struct TileGridInfo { - /** Tile placement interval */ - SkISize fTileInterval; - - /** Pixel coverage overlap between adjacent tiles */ - SkISize fMargin; - - /** Offset added to device-space bounding box positions to convert - * them to tile-grid space. This can be used to adjust the "phase" - * of the tile grid to match probable query rectangles that will be - * used to search into the tile grid. As long as the offset is smaller - * or equal to the margin, there is no need to extend the domain of - * the tile grid to prevent data loss. - */ - SkIPoint fOffset; - }; -}; - #endif