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

Unified Diff: LayoutTests/fast/shapes/resources/simple-polygon.js

Issue 20806004: Remove Explicit Shapes Enablement in Tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Enabled by default, no need to call internals Created 7 years, 4 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
Index: LayoutTests/fast/shapes/resources/simple-polygon.js
diff --git a/LayoutTests/fast/shapes/resources/simple-polygon.js b/LayoutTests/fast/shapes/resources/simple-polygon.js
index 599953806a4511ef00683cab20f7c715c141128d..7cabad5672908a88f954458a645884d4067648dd 100644
--- a/LayoutTests/fast/shapes/resources/simple-polygon.js
+++ b/LayoutTests/fast/shapes/resources/simple-polygon.js
@@ -1,8 +1,5 @@
// The functions in this file are intended to be used to test non-complex polygons
// where horizontal lines that overlap the polygon only cross the polygon twice.
-if (window.internals)
- window.internals.settings.setCSSExclusionsEnabled(true);
-
function createPolygon(vertices) {
var xCoordinates = vertices.map( function(p) { return p.x; } );
var yCoordinates = vertices.map( function(p) { return p.y; } );
« no previous file with comments | « LayoutTests/fast/shapes/resources/multi-segment-polygon.js ('k') | LayoutTests/fast/shapes/resources/simple-rectangle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698