| Index: ui/surface/transport_dib_posix.cc
|
| diff --git a/ui/surface/transport_dib_posix.cc b/ui/surface/transport_dib_posix.cc
|
| index aada735b5305037afff97a56898e83a9f48ad547..da370c96698e87a4aee7381272494c61c1bf07d8 100644
|
| --- a/ui/surface/transport_dib_posix.cc
|
| +++ b/ui/surface/transport_dib_posix.cc
|
| @@ -9,8 +9,9 @@
|
| #include <sys/stat.h>
|
| #include <unistd.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/memory/shared_memory.h"
|
| #include "build/build_config.h"
|
| #include "skia/ext/platform_canvas.h"
|
| @@ -41,7 +42,7 @@ TransportDIB* TransportDIB::Create(size_t size, uint32_t sequence_num) {
|
|
|
| // static
|
| TransportDIB* TransportDIB::Map(Handle handle) {
|
| - scoped_ptr<TransportDIB> dib(CreateWithHandle(handle));
|
| + std::unique_ptr<TransportDIB> dib(CreateWithHandle(handle));
|
| if (!dib->Map())
|
| return NULL;
|
| return dib.release();
|
|
|