Roll r168668 back in.
[WebKit-https.git] / LayoutTests / plugins / windowless_plugin_paint_test.html
index fc6432a..c8a9c5b 100644 (file)
@@ -14,6 +14,8 @@
         var pluginDiv = document.getElementById("pluginDiv");\r
         // Create the plugin in the middle of the page.\r
         pluginDiv.innerHTML = "<embed id=\"testPlugin\" type=\"application/x-webkit-test-netscape\" width=\"200\" height=\"200\" onpaintevent=\"didPaint()\" windowedPlugin=\"false\"></embed>";\r
+        if (window.internals)\r
+            internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks();\r
         testRunner.displayInvalidatedRegion();\r
       }\r
 \r