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

Unified Diff: Source/platform/graphics/GraphicsLayer.h

Issue 1287093004: Slimming Paint phase 2 compositing algorithm plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor cleanup 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/GraphicsLayer.h
diff --git a/Source/platform/graphics/GraphicsLayer.h b/Source/platform/graphics/GraphicsLayer.h
index 5ad5db9706a847601c25880ddd83522a626ea1a0..4e73cb6ecc44aa3c70fbbde9c5f2575e01314597 100644
--- a/Source/platform/graphics/GraphicsLayer.h
+++ b/Source/platform/graphics/GraphicsLayer.h
@@ -39,6 +39,7 @@
#include "platform/graphics/PaintInvalidationReason.h"
#include "platform/graphics/filters/FilterOperations.h"
#include "platform/graphics/paint/DisplayItemClient.h"
+#include "platform/graphics/paint/DisplayItemTransformTree.h"
#include "platform/transforms/TransformationMatrix.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
#include "public/platform/WebContentLayer.h"
@@ -248,6 +249,9 @@ public:
DisplayItemList* displayItemList() override;
+ void setTransformTree(PassOwnPtr<const DisplayItemTransformTree> transformTree) { m_transformTree = transformTree; }
chrishtr 2015/08/13 17:28:32 Revert changes to this class, per earlier comments
pdr. 2015/08/13 20:55:00 These changes are needed for test coverage until w
+ const DisplayItemTransformTree* transformTree() const { return m_transformTree.get(); }
+
// Exposed for tests.
virtual WebLayer* contentsLayer() const { return m_contentsLayer; }
@@ -357,6 +361,8 @@ private:
int m_3dRenderingContext;
OwnPtr<DisplayItemList> m_displayItemList;
+
+ OwnPtr<const DisplayItemTransformTree> m_transformTree;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698