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

Unified Diff: Source/platform/graphics/paint/CachedDisplayItem.cpp

Issue 1192443003: [Slimming Paint] Blink-side contiguous allocation of display items. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: need a constructor with WTF_MAKE_NONCOPYABLE Created 5 years, 6 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/CachedDisplayItem.cpp
diff --git a/Source/platform/graphics/paint/CachedDisplayItem.cpp b/Source/platform/graphics/paint/CachedDisplayItem.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..e1573a2bc504a9d128126facec4c72e385dd83e9
--- /dev/null
+++ b/Source/platform/graphics/paint/CachedDisplayItem.cpp
@@ -0,0 +1,18 @@
+// 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.
+
+#include "config.h"
+#include "platform/graphics/paint/CachedDisplayItem.h"
+
+#include "platform/graphics/paint/DisplayItems.h"
+
+namespace blink {
+
+void CachedDisplayItem::appendByMoving(DisplayItems& destination)
+{
+ destination.emplaceBack<CachedDisplayItem>(
+ DisplayItemClientWrapperHelper(*this), type());
+}
+
+} // namespace blink
« no previous file with comments | « Source/platform/graphics/paint/CachedDisplayItem.h ('k') | Source/platform/graphics/paint/ClipDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698