Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1465)

Unified Diff: skia/ext/lazy_pixel_ref_utils.h

Issue 111143005: cc: Gather and lock/unlock SkDiscardablePixelRefs instead of skia::LazyPixelRefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skia/ext/lazy_pixel_ref_utils.h
diff --git a/skia/ext/lazy_pixel_ref_utils.h b/skia/ext/lazy_pixel_ref_utils.h
deleted file mode 100644
index 33fe039e1acb8e8baaca436f892f0d8377fd13d7..0000000000000000000000000000000000000000
--- a/skia/ext/lazy_pixel_ref_utils.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_
-#define SKIA_EXT_LAZY_PIXEL_REF_UTILS_H_
-
-#include <vector>
-
-#include "SkPicture.h"
-#include "SkRect.h"
-
-namespace skia {
-
-class LazyPixelRef;
-class SK_API LazyPixelRefUtils {
- public:
-
- struct PositionLazyPixelRef {
- skia::LazyPixelRef* lazy_pixel_ref;
- SkRect pixel_ref_rect;
- };
-
- static void GatherPixelRefs(
- SkPicture* picture,
- std::vector<PositionLazyPixelRef>* lazy_pixel_refs);
-};
-
-typedef std::vector<LazyPixelRefUtils::PositionLazyPixelRef> LazyPixelRefList;
-
-} // namespace skia
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698