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

Unified Diff: Source/core/platform/graphics/transforms/TransformOperations.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/TransformOperations.h
diff --git a/Source/core/platform/graphics/transforms/TransformOperations.h b/Source/core/platform/graphics/transforms/TransformOperations.h
index f40f77f3ce16dd427399338cdb5cc7993b5ec45b..6858debfa678494853c765ff3f5335e071eef335 100644
--- a/Source/core/platform/graphics/transforms/TransformOperations.h
+++ b/Source/core/platform/graphics/transforms/TransformOperations.h
@@ -43,10 +43,10 @@ public:
return !(*this == o);
}
- void apply(const FloatSize& sz, TransformationMatrix& t) const
+ void apply(const FloatSize& sz, TransformationMatrix& t, RenderView* renderView) const
{
for (unsigned i = 0; i < m_operations.size(); ++i)
- m_operations[i]->apply(t, sz);
+ m_operations[i]->apply(t, sz, renderView);
}
// Return true if any of the operation types are 3D operation types (even if the

Powered by Google App Engine
This is Rietveld 408576698