| Index: ui/gfx/blit_unittest.cc
|
| diff --git a/ui/gfx/blit_unittest.cc b/ui/gfx/blit_unittest.cc
|
| index 72e1c26f1678c98b0ad902b3476b61fa29bf9988..8361148776a2a3e7b62d90fbad8ece1705d0f9b9 100644
|
| --- a/ui/gfx/blit_unittest.cc
|
| +++ b/ui/gfx/blit_unittest.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010-2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -142,7 +142,7 @@ TEST(Blit, WithSharedMemory) {
|
| const int kCanvasHeight = 5;
|
| skia::PlatformCanvas canvas;
|
| base::SharedMemory shared_mem;
|
| - ASSERT_TRUE(shared_mem.CreateAnonymous(kCanvasWidth * kCanvasHeight));
|
| + ASSERT_TRUE(shared_mem.CreateAnonymous(kCanvasWidth * kCanvasHeight, false));
|
| base::SharedMemoryHandle section = shared_mem.handle();
|
| ASSERT_TRUE(canvas.initialize(kCanvasWidth, kCanvasHeight, true, section));
|
| shared_mem.Close();
|
| @@ -160,4 +160,3 @@ TEST(Blit, WithSharedMemory) {
|
| }
|
|
|
| #endif
|
| -
|
|
|