diff options
Diffstat (limited to 'canvas/source/tools/surfaceproxy.cxx')
-rw-r--r-- | canvas/source/tools/surfaceproxy.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/canvas/source/tools/surfaceproxy.cxx b/canvas/source/tools/surfaceproxy.cxx index e809ec9a7d56..a2ffd3204a42 100644 --- a/canvas/source/tools/surfaceproxy.cxx +++ b/canvas/source/tools/surfaceproxy.cxx @@ -69,12 +69,11 @@ namespace canvas aPageSize.getY() ) ); maSurfaceList.push_back( - SurfaceSharedPtr( - new Surface( + std::make_shared<Surface>( mpPageManager, mpBuffer, aOffset, - aSize))); + aSize)); } } } |