| Index: third_party/WebKit/LayoutTests/images/color-profile-reflection.html
|
| diff --git a/third_party/WebKit/LayoutTests/images/color-profile-reflection.html b/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
|
| index c5f04817939ad946427116c139f7eb5b17be736c..690624f461edc0bceffaac7a58a85ce9af3a755d 100644
|
| --- a/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
|
| +++ b/third_party/WebKit/LayoutTests/images/color-profile-reflection.html
|
| @@ -16,6 +16,11 @@
|
|
|
| <script>
|
| window.onload = function() {
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| + }
|
| +
|
| document.querySelector('div').classList.add('reflection');
|
|
|
| if (window.testRunner)
|
| @@ -27,12 +32,8 @@ function changeColorProfile() {
|
| }
|
|
|
| function done() {
|
| - setTimeout(function() { testRunner.notifyDone() }, 0);
|
| + runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
|
| }
|
|
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsTextWithPixelResults();
|
| - testRunner.waitUntilDone();
|
| -}
|
| </script>
|
| </html>
|
|
|