Title: [182187] trunk/Source/WebCore
Revision
182187
Author
[email protected]
Date
2015-03-31 10:32:46 -0700 (Tue, 31 Mar 2015)

Log Message

[EFL] Add nullptr check to GraphicsContext3D::makeContextCurrent()
https://bugs.webkit.org/show_bug.cgi?id=143214

Reviewed by Žan Doberšek.

* platform/graphics/efl/GraphicsContext3DEfl.cpp:
(WebCore::GraphicsContext3D::makeContextCurrent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (182186 => 182187)


--- trunk/Source/WebCore/ChangeLog	2015-03-31 17:23:12 UTC (rev 182186)
+++ trunk/Source/WebCore/ChangeLog	2015-03-31 17:32:46 UTC (rev 182187)
@@ -1,3 +1,13 @@
+2015-03-31  Csaba Osztrogonác  <[email protected]>
+
+        [EFL] Add nullptr check to GraphicsContext3D::makeContextCurrent()
+        https://bugs.webkit.org/show_bug.cgi?id=143214
+
+        Reviewed by Žan Doberšek.
+
+        * platform/graphics/efl/GraphicsContext3DEfl.cpp:
+        (WebCore::GraphicsContext3D::makeContextCurrent):
+
 2015-03-31  Matt Baker  <[email protected]>
 
         Web Inspector: add 2D/WebGL canvas instrumentation infrastructure

Modified: trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DEfl.cpp (182186 => 182187)


--- trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DEfl.cpp	2015-03-31 17:23:12 UTC (rev 182186)
+++ trunk/Source/WebCore/platform/graphics/efl/GraphicsContext3DEfl.cpp	2015-03-31 17:32:46 UTC (rev 182187)
@@ -180,6 +180,8 @@
 
 bool GraphicsContext3D::makeContextCurrent()
 {
+    if (!m_private)
+        return false;
     return m_private->makeContextCurrent();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to