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

Unified Diff: Source/platform/graphics/paint/ScrollDisplayItem.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
Index: Source/platform/graphics/paint/ScrollDisplayItem.h
diff --git a/Source/platform/graphics/paint/ScrollDisplayItem.h b/Source/platform/graphics/paint/ScrollDisplayItem.h
index 649c0a8340774406aefa287dbc4ee060c27893ad..489c10618c6cbc2e11f2fc1b03c69d0faf1bc16e 100644
--- a/Source/platform/graphics/paint/ScrollDisplayItem.h
+++ b/Source/platform/graphics/paint/ScrollDisplayItem.h
@@ -24,11 +24,14 @@ public:
void replay(GraphicsContext&) override;
void appendToWebDisplayItemList(WebDisplayItemList*) const override;
+ const IntSize& currentOffset() const { return m_currentOffset; }
+
private:
#ifndef NDEBUG
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final;
#endif
+private:
const IntSize m_currentOffset;
};

Powered by Google App Engine
This is Rietveld 408576698