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

Unified Diff: cc/trees/layer_tree_host_pixeltest_masks.cc

Issue 982413003: cc: Disable more mask pixel tests on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move ifdefs Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_pixeltest_masks.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_masks.cc b/cc/trees/layer_tree_host_pixeltest_masks.cc
index 7b0e53bab7cb46ca4345a9e8d86b68e46056b20d..9dd5bd547ad0cfa6860c193398fe6607e677dff7 100644
--- a/cc/trees/layer_tree_host_pixeltest_masks.cc
+++ b/cc/trees/layer_tree_host_pixeltest_masks.cc
@@ -12,6 +12,9 @@
#if !defined(OS_ANDROID)
+// TODO(enne): these time out on Windows. http://crbug.com/435632
+#if !defined(OS_WIN)
+
namespace cc {
namespace {
@@ -57,9 +60,6 @@ class MaskContentLayerClient : public ContentLayerClient {
gfx::Size bounds_;
};
-// TODO(enne): these time out on Windows. http://crbug.com/435632
-#if !defined(OS_WIN)
-
TEST_P(LayerTreeHostMasksPixelTest, MaskOfLayer) {
scoped_refptr<SolidColorLayer> background = CreateSolidColorLayer(
gfx::Rect(200, 200), SK_ColorWHITE);
@@ -280,8 +280,6 @@ TEST_P(LayerTreeHostMasksPixelTest, MaskOfReplicaOfClippedLayer) {
"mask_of_replica_of_clipped_layer.png")));
}
-#endif // !defined(OS_WIN)
-
class CheckerContentLayerClient : public ContentLayerClient {
public:
CheckerContentLayerClient(const gfx::Size& bounds,
@@ -467,4 +465,5 @@ TEST_P(LayerTreeHostMasksForBackgroundFiltersPixelTest,
} // namespace
} // namespace cc
-#endif // OS_ANDROID
+#endif // !defined(OS_WIN)
+#endif // !defined(OS_ANDROID)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698