diff options
Diffstat (limited to 'app/surface')
-rw-r--r-- | app/surface/transport_dib_mac.cc | 2 | ||||
-rw-r--r-- | app/surface/transport_dib_win.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/surface/transport_dib_mac.cc b/app/surface/transport_dib_mac.cc index 97d18d7..a3eb0bb 100644 --- a/app/surface/transport_dib_mac.cc +++ b/app/surface/transport_dib_mac.cc @@ -28,7 +28,7 @@ TransportDIB::~TransportDIB() { // static TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) { TransportDIB* dib = new TransportDIB; - if (!dib->shared_memory_.Create(L"", false /* read write */, + if (!dib->shared_memory_.Create("", false /* read write */, false /* do not open existing */, size)) { delete dib; return NULL; diff --git a/app/surface/transport_dib_win.cc b/app/surface/transport_dib_win.cc index 9246f24..f7746e3 100644 --- a/app/surface/transport_dib_win.cc +++ b/app/surface/transport_dib_win.cc @@ -29,7 +29,7 @@ TransportDIB* TransportDIB::Create(size_t size, uint32 sequence_num) { TransportDIB* dib = new TransportDIB; - if (!dib->shared_memory_.Create(L"", false /* read write */, + if (!dib->shared_memory_.Create("", false /* read write */, true /* open existing */, size)) { delete dib; return NULL; |