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

Unified Diff: Source/core/platform/graphics/transforms/Matrix3DTransformOperation.cpp

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/Matrix3DTransformOperation.cpp
diff --git a/Source/core/platform/graphics/transforms/Matrix3DTransformOperation.cpp b/Source/core/platform/graphics/transforms/Matrix3DTransformOperation.cpp
index b8732b2e2928dfaf402986762b33e13fd70900af..c4ac2f46a7e308dd2cfd9ce05f1dc190199e5650 100644
--- a/Source/core/platform/graphics/transforms/Matrix3DTransformOperation.cpp
+++ b/Source/core/platform/graphics/transforms/Matrix3DTransformOperation.cpp
@@ -32,7 +32,7 @@ using namespace std;
namespace WebCore {
-PassRefPtr<TransformOperation> Matrix3DTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity)
+PassRefPtr<TransformOperation> Matrix3DTransformOperation::blend(const TransformOperation* from, double progress, bool blendToIdentity, RenderView* renderView)
{
if (from && !from->isSameType(*this))
return this;
@@ -42,9 +42,9 @@ PassRefPtr<TransformOperation> Matrix3DTransformOperation::blend(const Transform
TransformationMatrix fromT;
TransformationMatrix toT;
if (from)
- from->apply(fromT, size);
+ from->apply(fromT, size, renderView);
- apply(toT, size);
+ apply(toT, size, renderView);
if (blendToIdentity)
std::swap(fromT, toT);

Powered by Google App Engine
This is Rietveld 408576698