Title: [248203] trunk/Source/WebKit
Revision
248203
Author
[email protected]
Date
2019-08-03 13:32:57 -0700 (Sat, 03 Aug 2019)

Log Message

Fix compilation with disabled WebGL
https://bugs.webkit.org/show_bug.cgi?id=200421

Reviewed by Wenson Hsieh.

After r247452 webGLStateTracker is guarded with #if ENABLE(WEBGL)

* WebProcess/WebPage/WebPage.cpp:
(WebKit::m_textAutoSizingAdjustmentTimer):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (248202 => 248203)


--- trunk/Source/WebKit/ChangeLog	2019-08-03 19:36:32 UTC (rev 248202)
+++ trunk/Source/WebKit/ChangeLog	2019-08-03 20:32:57 UTC (rev 248203)
@@ -1,3 +1,15 @@
+2019-08-03  Konstantin Tokarev  <[email protected]>
+
+        Fix compilation with disabled WebGL
+        https://bugs.webkit.org/show_bug.cgi?id=200421
+
+        Reviewed by Wenson Hsieh.
+
+        After r247452 webGLStateTracker is guarded with #if ENABLE(WEBGL)
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::m_textAutoSizingAdjustmentTimer):
+
 2019-08-02  Keith Rollin  <[email protected]>
 
         Consistently use Obj-C boolean literals

Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (248202 => 248203)


--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2019-08-03 19:36:32 UTC (rev 248202)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp	2019-08-03 20:32:57 UTC (rev 248203)
@@ -467,9 +467,11 @@
     pageConfiguration.diagnosticLoggingClient = std::make_unique<WebDiagnosticLoggingClient>(*this);
     pageConfiguration.performanceLoggingClient = std::make_unique<WebPerformanceLoggingClient>(*this);
 
+#if ENABLE(WEBGL)
     pageConfiguration.webGLStateTracker = std::make_unique<WebGLStateTracker>([this](bool isUsingHighPerformanceWebGL) {
         send(Messages::WebPageProxy::SetIsUsingHighPerformanceWebGL(isUsingHighPerformanceWebGL));
     });
+#endif
 
 #if ENABLE(SPEECH_SYNTHESIS)
     pageConfiguration.speechSynthesisClient = std::make_unique<WebSpeechSynthesisClient>(*this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to