Title: [156336] trunk/Source/WebCore
Revision
156336
Author
commit-qu...@webkit.org
Date
2013-09-24 09:45:40 -0700 (Tue, 24 Sep 2013)

Log Message

[WinCairo] Compile error.
https://bugs.webkit.org/show_bug.cgi?id=121839

Patch by pe...@outlook.com <pe...@outlook.com> on 2013-09-24
Reviewed by Brent Fulgham.

* platform/graphics/GraphicsContext3DPrivate.cpp:
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate): Added missing guard.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (156335 => 156336)


--- trunk/Source/WebCore/ChangeLog	2013-09-24 16:22:56 UTC (rev 156335)
+++ trunk/Source/WebCore/ChangeLog	2013-09-24 16:45:40 UTC (rev 156336)
@@ -1,3 +1,13 @@
+2013-09-24  pe...@outlook.com  <pe...@outlook.com>
+
+        [WinCairo] Compile error.
+        https://bugs.webkit.org/show_bug.cgi?id=121839
+
+        Reviewed by Brent Fulgham.
+
+        * platform/graphics/GraphicsContext3DPrivate.cpp:
+        (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate): Added missing guard.
+
 2013-09-24  Andreas Kling  <akl...@apple.com>
 
         Cache continuation() in a local to avoid repeat hash lookups.

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp (156335 => 156336)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp	2013-09-24 16:22:56 UTC (rev 156335)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp	2013-09-24 16:45:40 UTC (rev 156336)
@@ -75,8 +75,10 @@
 
 GraphicsContext3DPrivate::~GraphicsContext3DPrivate()
 {
+#if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER)
     if (client())
         client()->platformLayerWillBeDestroyed();
+#endif
 }
 
 bool GraphicsContext3DPrivate::makeContextCurrent()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to