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

Unified Diff: cc/base/invalidation_region.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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
« no previous file with comments | « cc/base/delayed_unique_notifier_unittest.cc ('k') | cc/base/invalidation_region.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/invalidation_region.h
diff --git a/cc/base/invalidation_region.h b/cc/base/invalidation_region.h
deleted file mode 100644
index 7aa4a8b2a3b7e7f53d4aee9a7f5c2c49ba0a9ef8..0000000000000000000000000000000000000000
--- a/cc/base/invalidation_region.h
+++ /dev/null
@@ -1,35 +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 CC_BASE_INVALIDATION_REGION_H_
-#define CC_BASE_INVALIDATION_REGION_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/base/region.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace cc {
-
-// This class behaves similarly to Region, but it may have false positives. That
-// is, InvalidationRegion can be simplified to encompass a larger area than the
-// collection of rects unioned.
-class CC_EXPORT InvalidationRegion {
- public:
- InvalidationRegion();
- ~InvalidationRegion();
-
- void Swap(Region* region);
- void Clear();
- void Union(const gfx::Rect& rect);
- bool IsEmpty() const { return region_.IsEmpty(); }
-
- private:
- void SimplifyIfNeeded();
-
- Region region_;
-};
-
-} // namespace cc
-
-#endif // CC_BASE_INVALIDATION_REGION_H_
« no previous file with comments | « cc/base/delayed_unique_notifier_unittest.cc ('k') | cc/base/invalidation_region.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698