+++ This bug was initially created as a clone of Bug #484864 +++ We will have more than one code path for painting on windows, right now the code path is chosen at build time with preprocessor macros. It would be better to choose the path at run time based on prefs.
Created attachment 373749 [details] [diff] [review] use pref to determine this at runtime This depends on bug 488910 This patch adds a mozilla.widget.render-mode pref, that takes an int that corresponds to the new WinRenderMode enum. It's only read in at start time, though we could add a pref observer to toggle it at runtime as well. Most of this is just an indentation change, sadly; I can see if I can coax a diff -w patch out of hg if that would be easier to review.
9 years ago
Hmm, can you post a updated patch? This didn't apply cleanly to m-c.
It won't, not without the patches in bug 488910.
Comment on attachment 373749 [details] [diff] [review] use pref to determine this at runtime Alright, just eye balling it everything looked ok.