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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp

Issue 1394313002: Make DisplayItem::replay const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/Transform3DDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
index 16f4435fd93c918acc0c32097570e39db5f38833..5c1dca884aecc7a0ade815014d79fa4cf87ce976 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.cpp
@@ -11,7 +11,7 @@
namespace blink {
-void BeginTransform3DDisplayItem::replay(GraphicsContext& context)
+void BeginTransform3DDisplayItem::replay(GraphicsContext& context) const
{
TransformationMatrix transform(m_transform);
transform.applyTransformOrigin(m_transformOrigin);
@@ -45,7 +45,7 @@ void BeginTransform3DDisplayItem::dumpPropertiesAsDebugString(WTF::StringBuilder
}
#endif
-void EndTransform3DDisplayItem::replay(GraphicsContext& context)
+void EndTransform3DDisplayItem::replay(GraphicsContext& context) const
{
context.restore();
}

Powered by Google App Engine
This is Rietveld 408576698