Title: [179074] trunk/Tools
Revision
179074
Author
[email protected]
Date
2015-01-24 16:08:01 -0800 (Sat, 24 Jan 2015)

Log Message

DumpRenderTree needs to run with Windows native controls on Windows
https://bugs.webkit.org/show_bug.cgi?id=25592

Reviewed by Anders Carlsson.

* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebPreferencesToConsistentValues): Tell DRT to use native controls.
(prepareConsistentTestingEnvironment): Ditto.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (179073 => 179074)


--- trunk/Tools/ChangeLog	2015-01-24 20:36:59 UTC (rev 179073)
+++ trunk/Tools/ChangeLog	2015-01-25 00:08:01 UTC (rev 179074)
@@ -1,3 +1,14 @@
+2015-01-24  Brent Fulgham  <[email protected]>
+
+        DumpRenderTree needs to run with Windows native controls on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=25592
+
+        Reviewed by Anders Carlsson.
+
+        * DumpRenderTree/win/DumpRenderTree.cpp:
+        (resetWebPreferencesToConsistentValues): Tell DRT to use native controls.
+        (prepareConsistentTestingEnvironment): Ditto.
+
 2015-01-23  David Kilzer  <[email protected]>
 
         test-webkitpy: webkitpy.tool.commands.earlywarningsystem_unittest.EarlyWarningSystemTest.test_ewses fails on EFL, GTK, Win ports

Modified: trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp (179073 => 179074)


--- trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp	2015-01-24 20:36:59 UTC (rev 179073)
+++ trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp	2015-01-25 00:08:01 UTC (rev 179074)
@@ -838,7 +838,7 @@
     preferences->setCSSRegionsEnabled(TRUE);
     // Set uses HTML5 parser quirks: NO
     // Async spellcheck: NO
-    prefsPrivate->setShouldPaintNativeControls(TRUE); // FIXME - need to make DRT pass with Windows native controls <http://bugs.webkit.org/show_bug.cgi?id=25592>
+    prefsPrivate->setShouldPaintNativeControls(TRUE);
     prefsPrivate->setMockScrollbarsEnabled(TRUE);
 
     preferences->setFontSmoothing(FontSmoothingTypeStandard);
@@ -1377,8 +1377,7 @@
     ASSERT(standardPreferencesPrivate);
     standardPreferences->setAutosaves(FALSE);
 
-    // FIXME - need to make DRT pass with Windows native controls <http://bugs.webkit.org/show_bug.cgi?id=25592>
-    standardPreferencesPrivate->setShouldPaintNativeControls(FALSE);
+    standardPreferencesPrivate->setShouldPaintNativeControls(TRUE);
     standardPreferences->setJavaScriptEnabled(TRUE);
     standardPreferences->setDefaultFontSize(16);
 #if USE(CG)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to