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

Unified Diff: Source/platform/graphics/paint/SubtreeRecorder.h

Issue 1313223002: Simplify subtree (now subsequence) caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
Index: Source/platform/graphics/paint/SubtreeRecorder.h
diff --git a/Source/platform/graphics/paint/SubtreeRecorder.h b/Source/platform/graphics/paint/SubtreeRecorder.h
deleted file mode 100644
index c27e71d967b86217cff7441049b769c6d22797b2..0000000000000000000000000000000000000000
--- a/Source/platform/graphics/paint/SubtreeRecorder.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 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 SubtreeRecorder_h
-#define SubtreeRecorder_h
-
-#include "platform/graphics/paint/DisplayItemClient.h"
-
-namespace blink {
-
-class DisplayItemList;
-class GraphicsContext;
-
-// Records subtree information during painting. The recorder's life span covers
-// all painting operations executed during the root of the subtree's paint method
-// for the paint phase.
-class PLATFORM_EXPORT SubtreeRecorder {
-public:
- SubtreeRecorder(GraphicsContext&, const DisplayItemClientWrapper&, int paintPhase);
- ~SubtreeRecorder();
-
- bool canUseCache() const;
-
-private:
- DisplayItemList* m_displayItemList;
- DisplayItemClientWrapper m_client;
- const int m_paintPhase;
- bool m_canUseCache;
-#if ENABLE(ASSERT)
- mutable bool m_checkedCanUseCache;
-#endif
-};
-
-} // namespace blink
-
-#endif // SubtreeRecorder_h
« no previous file with comments | « Source/platform/graphics/paint/SubtreeDisplayItem.h ('k') | Source/platform/graphics/paint/SubtreeRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698