summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_canvas_unittest.cc')
-rw-r--r--skia/ext/platform_canvas_unittest.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/skia/ext/platform_canvas_unittest.cc b/skia/ext/platform_canvas_unittest.cc
index 125eb20..5679721 100644
--- a/skia/ext/platform_canvas_unittest.cc
+++ b/skia/ext/platform_canvas_unittest.cc
@@ -206,6 +206,8 @@ 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
@@ -231,6 +233,8 @@ 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.
@@ -288,6 +292,8 @@ 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.
@@ -387,4 +393,6 @@ TEST(PlatformCanvas, TranslateLayer) {
#endif
}
+#endif // #if !defined(USE_AURA)
+
} // namespace skia