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

Side by Side Diff: skia/ext/platform_canvas_unittest.cc

Issue 77033: Fix my attempt to disable part of unit test for Mac. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 8 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(awalker): clean up the const/non-const reference handling in this test 5 // TODO(awalker): clean up the const/non-const reference handling in this test
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if !defined(OS_WIN) 9 #if !defined(OS_WIN)
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 DrawNativeRect(canvas, 0, 0, 100, 100); 382 DrawNativeRect(canvas, 0, 0, 100, 100);
383 #if defined(OS_WIN) 383 #if defined(OS_WIN)
384 canvas.getTopPlatformDevice().makeOpaque(kLayerX, kLayerY, 384 canvas.getTopPlatformDevice().makeOpaque(kLayerX, kLayerY,
385 kLayerW, kLayerH); 385 kLayerW, kLayerH);
386 #endif 386 #endif
387 } 387 }
388 canvas.restore(); 388 canvas.restore();
389 EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK, 389 EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK,
390 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH)); 390 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH));
391 #endif
391 } 392 }
392 #endif
393 393
394 } // namespace skia 394 } // namespace skia
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698