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

Unified Diff: Source/WebCore/platform/graphics/transforms/TransformState.h

Issue 11880024: Merge 139479 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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/WebCore/platform/graphics/transforms/TransformState.h
===================================================================
--- Source/WebCore/platform/graphics/transforms/TransformState.h (revision 139619)
+++ Source/WebCore/platform/graphics/transforms/TransformState.h (working copy)
@@ -73,7 +73,14 @@
TransformState& operator=(const TransformState&);
- void setQuad(const FloatQuad& quad) { m_lastPlanarQuad = quad; }
+ void setQuad(const FloatQuad& quad)
+ {
+ // FIXME: this assumes that the quad being added is in the coordinate system of the current state.
+ // This breaks if we're simultaneously mapping a point. https://bugs.webkit.org/show_bug.cgi?id=106680
+ ASSERT(!m_mapPoint);
+ m_accumulatedOffset = LayoutSize();
+ m_lastPlanarQuad = quad;
+ }
void move(LayoutUnit x, LayoutUnit y, TransformAccumulation accumulate = FlattenTransform)
{

Powered by Google App Engine
This is Rietveld 408576698