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

Unified Diff: Source/core/css/CSSComputedStyleDeclaration.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
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | Source/core/platform/graphics/GraphicsLayer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSComputedStyleDeclaration.cpp
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp
index 9a18d3e1ae0993029e654458ef3012d8c4474731..9ee3cc6f36f027cca38a19efed9727af2883c8d7 100644
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -793,7 +793,7 @@ static PassRefPtr<CSSValue> computedTransform(RenderObject* renderer, const Rend
box = pixelSnappedIntRect(toRenderBox(renderer)->borderBoxRect());
TransformationMatrix transform;
- style->applyTransform(transform, box.size(), RenderStyle::ExcludeTransformOrigin);
+ style->applyTransform(transform, box.size(), RenderStyle::ExcludeTransformOrigin, renderer->view());
// FIXME: Need to print out individual functions (https://bugs.webkit.org/show_bug.cgi?id=23924)
RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | Source/core/platform/graphics/GraphicsLayer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698