Title: [209435] trunk/Source/WebKit2
Revision
209435
Author
commit-qu...@webkit.org
Date
2016-12-06 16:46:02 -0800 (Tue, 06 Dec 2016)

Log Message

Unreviewed, rolling out r209391.
https://bugs.webkit.org/show_bug.cgi?id=165501

requires explicit nullptr checks so missing env vars don't
flip AC mode (Requested by mcatanzaro on #webkit).

Reverted changeset:

"[GTK] Process accelerated compositing env variables only if
they are really enabled"
https://bugs.webkit.org/show_bug.cgi?id=165300
http://trac.webkit.org/changeset/209391

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209434 => 209435)


--- trunk/Source/WebKit2/ChangeLog	2016-12-07 00:34:49 UTC (rev 209434)
+++ trunk/Source/WebKit2/ChangeLog	2016-12-07 00:46:02 UTC (rev 209435)
@@ -1,3 +1,18 @@
+2016-12-06  Commit Queue  <commit-qu...@webkit.org>
+
+        Unreviewed, rolling out r209391.
+        https://bugs.webkit.org/show_bug.cgi?id=165501
+
+        requires explicit nullptr checks so missing env vars don't
+        flip AC mode (Requested by mcatanzaro on #webkit).
+
+        Reverted changeset:
+
+        "[GTK] Process accelerated compositing env variables only if
+        they are really enabled"
+        https://bugs.webkit.org/show_bug.cgi?id=165300
+        http://trac.webkit.org/changeset/209391
+
 2016-12-06  Alexey Proskuryakov  <a...@apple.com>
 
         Correct SDKROOT values in xcconfig files

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp (209434 => 209435)


--- trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp	2016-12-07 00:34:49 UTC (rev 209434)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp	2016-12-07 00:46:02 UTC (rev 209435)
@@ -47,11 +47,11 @@
 #if USE(COORDINATED_GRAPHICS_THREADED)
     setForceCompositingMode(true);
 #else
-    if (g_strcmp0(getenv("WEBKIT_FORCE_COMPOSITING_MODE"), "0"))
+    if (getenv("WEBKIT_FORCE_COMPOSITING_MODE"))
         setForceCompositingMode(true);
 #endif
 
-    if (g_strcmp0(getenv("WEBKIT_DISABLE_COMPOSITING_MODE"), "0")) {
+    if (getenv("WEBKIT_DISABLE_COMPOSITING_MODE")) {
         setAcceleratedCompositingEnabled(false);
         return;
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to