Index: src/image/SkSurface.cpp |
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp |
index b10782a0ef64fc8f4a158a5afeebce9ddc5709eb..3ca5747252bd147da14c18ec8f5494bca99291c7 100644 |
--- a/src/image/SkSurface.cpp |
+++ b/src/image/SkSurface.cpp |
@@ -47,6 +47,11 @@ SkSurfaceProps::SkSurfaceProps(uint32_t flags, SkPixelGeometry pg) |
: fFlags(flags), fPixelGeometry(pg) |
{} |
+SkSurfaceProps::SkSurfaceProps(const SkSurfaceProps& other) |
+ : fFlags(other.fFlags) |
+ , fPixelGeometry(other.fPixelGeometry) |
+{} |
+ |
/////////////////////////////////////////////////////////////////////////////// |
SkSurface_Base::SkSurface_Base(int width, int height, const SkSurfaceProps* props) |