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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h

Issue 2675773003: Optimize CompositingRecorder::endCompositing to not need an SkPictureBuilder (Closed)
Patch Set: rebase Created 3 years, 11 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: third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
index 098edcd43f73603f01cbdd79ba40c56f538b419b..ff6da1fc0b7ddf852ab94f4f00df3a654499ea83 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintChunker.h
@@ -10,7 +10,6 @@
#include "platform/graphics/paint/PaintChunk.h"
#include "platform/graphics/paint/PaintChunkProperties.h"
#include "wtf/Allocator.h"
-#include "wtf/AutoReset.h"
#include "wtf/Noncopyable.h"
#include "wtf/Vector.h"
@@ -75,19 +74,6 @@ class PLATFORM_EXPORT PaintChunker final {
PaintChunkProperties m_currentProperties;
};
-#if DCHECK_IS_ON()
-class DisableNullPaintPropertyChecks {
- STACK_ALLOCATED();
- WTF_MAKE_NONCOPYABLE(DisableNullPaintPropertyChecks);
-
- public:
- DisableNullPaintPropertyChecks();
-
- private:
- AutoReset<bool> m_disabler;
-};
-#endif // DCHECK_IS_ON()
-
} // namespace blink
#endif // PaintChunker_h

Powered by Google App Engine
This is Rietveld 408576698