summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 06:45:29 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 06:45:29 +0000
commit4ff8500b1086cfc27530711ee57e553466575e35 (patch)
treea530a255f7c641ddbdb4c57a7bb843bff9d5b29f /ui
parent1dadcd928b3126f516c9303b9b2c88de34e52e69 (diff)
downloadchromium_src-4ff8500b1086cfc27530711ee57e553466575e35.zip
chromium_src-4ff8500b1086cfc27530711ee57e553466575e35.tar.gz
chromium_src-4ff8500b1086cfc27530711ee57e553466575e35.tar.bz2
Revert 112641 - aura: Use WebKit compositor by default
BUG=99524 TEST=compositor_unittests, views_unittests, aura_unittests... Review URL: http://codereview.chromium.org/8565019 TBR=piman@chromium.org Review URL: http://codereview.chromium.org/8775045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r--ui/views/view_unittest.cc17
1 files changed, 3 insertions, 14 deletions
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc
index 3952db1..224b5c9c 100644
--- a/ui/views/view_unittest.cc
+++ b/ui/views/view_unittest.cc
@@ -2818,18 +2818,9 @@ TEST_F(ViewLayerTest, ToggleVisibilityWithLayer) {
EXPECT_TRUE(v1->layer()->IsDrawn());
}
-// We don't set the hole in the webkit compositor, so disable tests that rely on
-// it.
-#if defined(USE_WEBKIT_COMPOSITOR)
-#define NOT_APPLICABLE_TO_WEBKIT_COMPOSITOR(X) DISABLED_ ## X
-#else
-#define NOT_APPLICABLE_TO_WEBKIT_COMPOSITOR(X) X
-#endif
-
// Test that a hole in a layer is correctly created regardless of whether
// the opacity attribute is set before or after the layer is created.
-TEST_F(ViewLayerTest,
- NOT_APPLICABLE_TO_WEBKIT_COMPOSITOR(ToggleOpacityWithLayer)) {
+TEST_F(ViewLayerTest, ToggleOpacityWithLayer) {
View* content_view = new View;
widget()->SetContentsView(content_view);
@@ -2859,8 +2850,7 @@ TEST_F(ViewLayerTest,
// Test that a hole in a layer always corresponds to the bounds of opaque
// layers.
-TEST_F(ViewLayerTest,
- NOT_APPLICABLE_TO_WEBKIT_COMPOSITOR(MultipleOpaqueLayers)) {
+TEST_F(ViewLayerTest, MultipleOpaqueLayers) {
View* content_view = new View;
widget()->SetContentsView(content_view);
@@ -2901,8 +2891,7 @@ TEST_F(ViewLayerTest,
}
// Makes sure that opacity of layer persists after toggling visibilty.
-TEST_F(ViewLayerTest,
- NOT_APPLICABLE_TO_WEBKIT_COMPOSITOR(ToggleVisibilityWithOpaqueLayer)) {
+TEST_F(ViewLayerTest, ToggleVisibilityWithOpaqueLayer) {
View* content_view = new View;
widget()->SetContentsView(content_view);