Title: [213908] branches/safari-603-branch/Source/WebCore
Revision
213908
Author
matthew_han...@apple.com
Date
2017-03-14 10:13:35 -0700 (Tue, 14 Mar 2017)

Log Message

Merge r212822. rdar://problem/30682429

Modified Paths

Diff

Modified: branches/safari-603-branch/Source/WebCore/ChangeLog (213907 => 213908)


--- branches/safari-603-branch/Source/WebCore/ChangeLog	2017-03-14 17:13:32 UTC (rev 213907)
+++ branches/safari-603-branch/Source/WebCore/ChangeLog	2017-03-14 17:13:35 UTC (rev 213908)
@@ -1,3 +1,19 @@
+2017-02-24  Matthew Hanson  <matthew_han...@apple.com>
+
+        Merge r212822. rdar://problem/30682429
+
+    2017-02-22  Per Arne Vollan  <pvol...@apple.com>
+
+            [Win] Crash under CACFLayerTreeHost::acceleratedCompositingAvailable().
+            https://bugs.webkit.org/show_bug.cgi?id=168711
+
+            Reviewed by Alex Christensen.
+
+            Add null pointer check.
+
+            * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
+            (WebCore::CACFLayerTreeHost::acceleratedCompositingAvailable):
+
 2017-02-22  Brent Fulgham  <bfulg...@apple.com>
 
         Merge r212828. rdar://problem/30636288

Modified: branches/safari-603-branch/Source/WebCore/platform/graphics/ca/win/CACFLayerTreeHost.cpp (213907 => 213908)


--- branches/safari-603-branch/Source/WebCore/platform/graphics/ca/win/CACFLayerTreeHost.cpp	2017-03-14 17:13:32 UTC (rev 213907)
+++ branches/safari-603-branch/Source/WebCore/platform/graphics/ca/win/CACFLayerTreeHost.cpp	2017-03-14 17:13:35 UTC (rev 213908)
@@ -107,6 +107,12 @@
     }
 
     RefPtr<CACFLayerTreeHost> host = CACFLayerTreeHost::create();
+
+    if (!host) {
+        available = false;
+        return available;
+    }
+
     host->setWindow(testWindow);
     available = host->createRenderer();
     host->setWindow(0);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to