| Index: src/utils/SkGatherPixelRefsAndRects.cpp
|
| diff --git a/src/utils/SkGatherPixelRefsAndRects.cpp b/src/utils/SkGatherPixelRefsAndRects.cpp
|
| deleted file mode 100644
|
| index ee5b1472fcaa196aacbcbb2811039395d753a038..0000000000000000000000000000000000000000
|
| --- a/src/utils/SkGatherPixelRefsAndRects.cpp
|
| +++ /dev/null
|
| @@ -1,25 +0,0 @@
|
| -/*
|
| - * Copyright 2014 Google Inc.
|
| - *
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -#include "SkGatherPixelRefsAndRects.h"
|
| -#include "SkNoSaveLayerCanvas.h"
|
| -#include "SkPictureUtils.h"
|
| -
|
| -void SkPictureUtils::GatherPixelRefsAndRects(SkPicture* pict,
|
| - SkPictureUtils::SkPixelRefContainer* prCont) {
|
| - if (pict->cullRect().isEmpty()) {
|
| - return ;
|
| - }
|
| -
|
| - SkGatherPixelRefsAndRectsDevice device(SkScalarCeilToInt(pict->cullRect().width()),
|
| - SkScalarCeilToInt(pict->cullRect().height()),
|
| - prCont);
|
| - SkNoSaveLayerCanvas canvas(&device);
|
| -
|
| - canvas.clipRect(pict->cullRect(), SkRegion::kIntersect_Op, false);
|
| - canvas.drawPicture(pict);
|
| -}
|
|
|