Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 311c08d979be7bfe6eaa96f14f6b796ca4f11592..c0d11267a7e6ed06264e488d9e964780694921da 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3818,6 +3818,9 @@ void WebViewImpl::setIsAcceleratedCompositingActive(bool active) |
if (m_isAcceleratedCompositingActive == active) |
return; |
+ if (!m_client) |
+ return; |
+ |
if (!active) { |
m_isAcceleratedCompositingActive = false; |
// We need to finish all GL rendering before sending didDeactivateCompositor() to prevent |