Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: ui/gfx/blit_unittest.cc

Issue 8585002: Give base::SharedMemory::CreateAnonymous an executable flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
-

Powered by Google App Engine
This is Rietveld 408576698