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

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

Issue 1295403003: DisplayItemPropertyTreeBuilder: Support (2D) transform and scroll display items. (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
« no previous file with comments | « Source/platform/graphics/paint/ScrollDisplayItem.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/TransformDisplayItem.h
diff --git a/Source/platform/graphics/paint/TransformDisplayItem.h b/Source/platform/graphics/paint/TransformDisplayItem.h
index 5d8e89c92f636142e1381cfa112e1bf60c2e428d..d9a20ab0a918c047d36f2a60496b8dce64b61a27 100644
--- a/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -20,11 +20,14 @@ public:
void replay(GraphicsContext&) override;
void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ const AffineTransform& transform() const { return m_transform; }
+
private:
#ifndef NDEBUG
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final;
#endif
+private:
const AffineTransform m_transform;
};
« no previous file with comments | « Source/platform/graphics/paint/ScrollDisplayItem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698