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

Unified Diff: content/common/gpu/ca_layer_tree_unittest_mac.mm

Issue 1846913007: Mac: Disable use of AVSampleBufferDisplayLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: https Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/ca_layer_tree_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/ca_layer_tree_unittest_mac.mm
diff --git a/content/common/gpu/ca_layer_tree_unittest_mac.mm b/content/common/gpu/ca_layer_tree_unittest_mac.mm
index e7bd4221b1cc9a8fac1c0bf0a1fcdaae57aefab4..49b8e747fb903dee8cb1e3ce5d4370e62880b844 100644
--- a/content/common/gpu/ca_layer_tree_unittest_mac.mm
+++ b/content/common/gpu/ca_layer_tree_unittest_mac.mm
@@ -783,7 +783,7 @@ TEST_F(CALayerTreeTest, AVLayer) {
content_layer1 = [[transform_layer sublayers] objectAtIndex:0];
// Validate the content layer.
- EXPECT_TRUE([content_layer1
+ EXPECT_FALSE([content_layer1
isKindOfClass:NSClassFromString(@"AVSampleBufferDisplayLayer")]);
}
@@ -812,7 +812,7 @@ TEST_F(CALayerTreeTest, AVLayer) {
content_layer2 = [[transform_layer sublayers] objectAtIndex:0];
// Validate the content layer.
- EXPECT_TRUE([content_layer2
+ EXPECT_FALSE([content_layer2
isKindOfClass:NSClassFromString(@"AVSampleBufferDisplayLayer")]);
EXPECT_EQ(content_layer2, content_layer1);
}
@@ -845,7 +845,7 @@ TEST_F(CALayerTreeTest, AVLayer) {
// Validate the content layer.
EXPECT_FALSE([content_layer3
isKindOfClass:NSClassFromString(@"AVSampleBufferDisplayLayer")]);
- EXPECT_NE(content_layer3, content_layer2);
+ EXPECT_EQ(content_layer3, content_layer2);
}
}
« no previous file with comments | « content/common/gpu/ca_layer_tree_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698