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

Unified Diff: third_party/WebKit/Source/core/paint/SVGPaintContext.h

Issue 2116693002: PaintChunk::id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CommitOnTheWay
Patch Set: Address chrishtr's comments. Created 4 years, 5 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: third_party/WebKit/Source/core/paint/SVGPaintContext.h
diff --git a/third_party/WebKit/Source/core/paint/SVGPaintContext.h b/third_party/WebKit/Source/core/paint/SVGPaintContext.h
index 8a63a1adc6307ace3f4cb38f2302f0484b0c2b3c..2ac2943310a4962627b3aa59bbda8c50d645f39c 100644
--- a/third_party/WebKit/Source/core/paint/SVGPaintContext.h
+++ b/third_party/WebKit/Source/core/paint/SVGPaintContext.h
@@ -65,7 +65,7 @@ public:
auto& paintController = context.getPaintController();
PaintChunkProperties properties(paintController.currentPaintChunkProperties());
properties.transform = objectProperties->svgLocalToBorderBoxTransform();
- m_transformPropertyScope.emplace(paintController, properties);
+ m_transformPropertyScope.emplace(paintController, object, properties);
}
} else {
DCHECK(object.isSVG());
@@ -77,7 +77,7 @@ public:
auto& paintController = context.getPaintController();
PaintChunkProperties properties(paintController.currentPaintChunkProperties());
properties.transform = objectProperties->transform();
- m_transformPropertyScope.emplace(paintController, properties);
+ m_transformPropertyScope.emplace(paintController, object, properties);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698