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

Unified Diff: skia/ext/platform_canvas_unittest.cc

Issue 1521023002: Remove use_aura build arg. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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: skia/ext/platform_canvas_unittest.cc
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc
index 530d7220ca788578c75c2377d24ea353052a2fef..560d47f2d751136b96d51364137faf83d057ecbe 100644
--- a/skia/ext/platform_canvas_unittest.cc
+++ b/skia/ext/platform_canvas_unittest.cc
@@ -207,8 +207,6 @@ TEST(PlatformCanvas, SkLayer) {
EXPECT_TRUE(VerifyBlackRect(*canvas, kLayerX, kLayerY, kLayerW, kLayerH));
}
-#if !defined(USE_AURA) // http://crbug.com/154358
-
// Test native clipping.
TEST(PlatformCanvas, ClipRegion) {
// Initialize a white canvas
@@ -234,8 +232,6 @@ TEST(PlatformCanvas, ClipRegion) {
EXPECT_TRUE(VerifyCanvasColor(*canvas, SK_ColorWHITE));
}
-#endif // !defined(USE_AURA)
-
// Test the layers get filled properly by native rendering.
TEST(PlatformCanvas, FillLayer) {
// Create the canvas initialized to opaque white.
@@ -293,8 +289,6 @@ TEST(PlatformCanvas, FillLayer) {
EXPECT_TRUE(VerifyBlackRect(*canvas, kInnerX, kInnerY, kInnerW, kInnerH));
}
-#if !defined(USE_AURA) // http://crbug.com/154358
-
// Test that translation + make layer works properly.
TEST(PlatformCanvas, TranslateLayer) {
// Create the canvas initialized to opaque white.
@@ -395,8 +389,6 @@ TEST(PlatformCanvas, TranslateLayer) {
#endif
}
-#endif // #if !defined(USE_AURA)
-
TEST(PlatformBitmapTest, PlatformBitmap) {
const int kWidth = 400;
const int kHeight = 300;

Powered by Google App Engine
This is Rietveld 408576698