Title: [203223] trunk/Source/WebKit2
Revision
203223
Author
[email protected]
Date
2016-07-14 05:33:35 -0700 (Thu, 14 Jul 2016)

Log Message

[ThreadedCompositor] Build fails in debug mode after r202040
https://bugs.webkit.org/show_bug.cgi?id=159757

Patch by Hyunjun Ko <[email protected]> on 2016-07-14
Reviewed by Michael Catanzaro.

Debug mode build failed due to call getter method, which is
removed, in ASSERT().

* Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::ThreadedCompositor::glContext): Deleted.
(WebKit::ThreadedCompositor::didChangeVisibleRect): Deleted.
(WebKit::ThreadedCompositor::renderLayerTree): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (203222 => 203223)


--- trunk/Source/WebKit2/ChangeLog	2016-07-14 11:16:17 UTC (rev 203222)
+++ trunk/Source/WebKit2/ChangeLog	2016-07-14 12:33:35 UTC (rev 203223)
@@ -1,3 +1,18 @@
+2016-07-14  Hyunjun Ko  <[email protected]>
+
+        [ThreadedCompositor] Build fails in debug mode after r202040
+        https://bugs.webkit.org/show_bug.cgi?id=159757
+
+        Reviewed by Michael Catanzaro.
+
+        Debug mode build failed due to call getter method, which is
+        removed, in ASSERT().
+
+        * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
+        (WebKit::ThreadedCompositor::glContext): Deleted.
+        (WebKit::ThreadedCompositor::didChangeVisibleRect): Deleted.
+        (WebKit::ThreadedCompositor::renderLayerTree): Deleted.
+
 2016-07-13  Alex Christensen  <[email protected]>
 
         Modernize WebSocket handle

Modified: trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp (203222 => 203223)


--- trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp	2016-07-14 11:16:17 UTC (rev 203222)
+++ trunk/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp	2016-07-14 12:33:35 UTC (rev 203223)
@@ -156,8 +156,6 @@
 
 GLContext* ThreadedCompositor::glContext()
 {
-    ASSERT(&RunLoop::current() == &m_compositingRunLoop->runLoop());
-
     if (m_context)
         return m_context.get();
 
@@ -175,8 +173,6 @@
 
 void ThreadedCompositor::didChangeVisibleRect()
 {
-    ASSERT(&RunLoop::current() == &m_compositingRunLoop->runLoop());
-
     RunLoop::main().dispatch([this, protectedThis = Ref<ThreadedCompositor>(*this), visibleRect = m_viewportController->visibleContentsRect(), scale = m_viewportController->pageScaleFactor()] {
         m_client->setVisibleContentsRect(visibleRect, FloatPoint::zero(), scale);
     });
@@ -186,7 +182,6 @@
 
 void ThreadedCompositor::renderLayerTree()
 {
-    ASSERT(&RunLoop::current() == &m_compositingRunLoop->runLoop());
     if (!m_scene || !m_scene->isActive())
         return;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to