2011-03-30  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Chris Marrin.

        Update fast/canvas tests to avoid dumping the render tree when possible
        https://bugs.webkit.org/show_bug.cgi?id=57493

        * DumpRenderTree/mac/DumpRenderTree.mm: Make DRT aware of new default values for
          accelerated drawing and accelerated drawing for canvas
2011-03-30  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Chris Marrin.

        Update fast/canvas tests to avoid dumping the render tree when possible
        https://bugs.webkit.org/show_bug.cgi?id=57493

        * fast/canvas/<various tests>: Added new expectations.
        * platform/mac/fast/canvas/<various tests>: Removed old expectations with Render Tree printouts.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/fast/canvas/canvas-text-alignment.html b/LayoutTests/fast/canvas/canvas-text-alignment.html
index efb1264..5a0a61a 100644
--- a/LayoutTests/fast/canvas/canvas-text-alignment.html
+++ b/LayoutTests/fast/canvas/canvas-text-alignment.html
@@ -2,6 +2,9 @@
 <body>
 <canvas id="canvas" width=600 height=600 style="border:5px solid black">
 <script>
+if (window.layoutTestController)
+  layoutTestController.dumpAsText(true);
+
 var ctx = document.getElementById('canvas').getContext('2d');
 var lingrad = ctx.createLinearGradient(0,0,600,600);
 lingrad.addColorStop(0, '#00ABEB');