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

Unified Diff: Source/core/platform/graphics/transforms/ScaleTransformOperation.h

Issue 22900008: Make vw/vh units to work in css transforms. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/core/platform/graphics/transforms/ScaleTransformOperation.h
diff --git a/Source/core/platform/graphics/transforms/ScaleTransformOperation.h b/Source/core/platform/graphics/transforms/ScaleTransformOperation.h
index c380416cb6057d4f6329f6336a229e4bd4741700..f67095870304973d8f0e7ea0a58fac5f6e7fe31d 100644
--- a/Source/core/platform/graphics/transforms/ScaleTransformOperation.h
+++ b/Source/core/platform/graphics/transforms/ScaleTransformOperation.h
@@ -59,13 +59,13 @@ private:
return m_x == s->m_x && m_y == s->m_y && m_z == s->m_z;
}
- virtual bool apply(TransformationMatrix& transform, const FloatSize&) const
+ virtual bool apply(TransformationMatrix& transform, const FloatSize&, RenderView*) const
{
transform.scale3d(m_x, m_y, m_z);
return false;
}
- virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false);
+ virtual PassRefPtr<TransformOperation> blend(const TransformOperation* from, double progress, bool blendToIdentity = false, RenderView* =0);
ScaleTransformOperation(double sx, double sy, double sz, OperationType type)
: m_x(sx)

Powered by Google App Engine
This is Rietveld 408576698