| OLD | NEW | 
|---|
| 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 #import <ApplicationServices/ApplicationServices.h> | 
|  | 10 | 
| 9 #if !defined(OS_WIN) | 11 #if !defined(OS_WIN) | 
| 10 #include <unistd.h> | 12 #include <unistd.h> | 
| 11 #endif | 13 #endif | 
| 12 | 14 | 
| 13 #include "skia/ext/platform_canvas.h" | 15 #include "skia/ext/platform_canvas.h" | 
| 14 #include "skia/ext/platform_device.h" | 16 #include "skia/ext/platform_device.h" | 
| 15 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" | 
| 16 | 18 | 
| 17 #include "SkColor.h" | 19 #include "SkColor.h" | 
| 18 | 20 | 
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 384                                              kLayerW, kLayerH); | 386                                              kLayerW, kLayerH); | 
| 385 #endif | 387 #endif | 
| 386   } | 388   } | 
| 387   canvas.restore(); | 389   canvas.restore(); | 
| 388   EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK, | 390   EXPECT_TRUE(VerifyRoundedRect(canvas, SK_ColorWHITE, SK_ColorBLACK, | 
| 389                                 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH)); | 391                                 kInnerX + 1, kInnerY + 1, kInnerW, kInnerH)); | 
| 390 #endif | 392 #endif | 
| 391 } | 393 } | 
| 392 | 394 | 
| 393 }  // namespace skia | 395 }  // namespace skia | 
| OLD | NEW | 
|---|