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

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

Issue 2655383002: Use GeometryMapper in PaintLayerClipper. (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/paint/PaintLayerClipper.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
index 90d7eb9452da6b06577ce8ba33fd8e9d6ddecebf..ffaa41159a9310a9a26591e148efe10abb437ba9 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
@@ -172,7 +172,7 @@ class CORE_EXPORT PaintLayerClipper {
DISALLOW_NEW();
public:
- explicit PaintLayerClipper(const PaintLayer&, bool useGeometryMapper);
+ explicit PaintLayerClipper(const PaintLayer&, GeometryMapper*);
void clearClipRectsIncludingDescendants();
void clearClipRectsIncludingDescendants(ClipRectsCacheSlot);
@@ -235,7 +235,7 @@ class CORE_EXPORT PaintLayerClipper {
const ClipRect&) const;
const PaintLayer& m_layer;
- std::unique_ptr<GeometryMapper> m_geometryMapper;
+ GeometryMapper* m_geometryMapper;
friend class PaintLayerClipperTest;
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698