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

Unified Diff: Source/core/platform/graphics/transforms/RotateTransformOperation.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/RotateTransformOperation.h
diff --git a/Source/core/platform/graphics/transforms/RotateTransformOperation.h b/Source/core/platform/graphics/transforms/RotateTransformOperation.h
index 00d79830f7a9d1a68ff27634631106bb7c4a3984..80a542ee2d5a475365f076c7ae45e3b87e5faf04 100644
--- a/Source/core/platform/graphics/transforms/RotateTransformOperation.h
+++ b/Source/core/platform/graphics/transforms/RotateTransformOperation.h
@@ -60,13 +60,13 @@ private:
return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle;
}
- virtual bool apply(TransformationMatrix& transform, const FloatSize& /*borderBoxSize*/) const
+ virtual bool apply(TransformationMatrix& transform, const FloatSize& /*borderBoxSize*/, RenderView*) const
{
transform.rotate3d(m_x, m_y, m_z, m_angle);
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);
RotateTransformOperation(double x, double y, double z, double angle, OperationType type)
: m_x(x)

Powered by Google App Engine
This is Rietveld 408576698