summaryrefslogtreecommitdiffstats
path: root/external/skia/Wdeprecated-copy.patch.0
blob: 4e0682bcebd9a30504bdb8af486f5023d96e6ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- include/core/SkSurfaceProps.h
+++ include/core/SkSurfaceProps.h
@@ -63,7 +63,6 @@
     };
     SkSurfaceProps(InitType);
     SkSurfaceProps(uint32_t flags, InitType);
-    SkSurfaceProps(const SkSurfaceProps& other);
 
     uint32_t flags() const { return fFlags; }
     SkPixelGeometry pixelGeometry() const { return fPixelGeometry; }
--- src/image/SkSurface.cpp
+++ src/image/SkSurface.cpp
@@ -52,11 +52,6 @@
     : 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)