Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index ded0534d728ac1ff5474387b4f7fde5768b41121..46b04e047392f71c8e84ee1d9668fa0682a82903 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -61,6 +61,7 @@ |
#include "core/html/HTMLMediaElement.h" |
#include "core/html/HTMLPlugInElement.h" |
#include "core/html/HTMLTextAreaElement.h" |
+#include "core/html/canvas/WebGLRenderingContext.h" |
#include "core/html/ime/InputMethodContext.h" |
#include "core/inspector/InspectorController.h" |
#include "core/loader/DocumentLoader.h" |
@@ -4500,4 +4501,9 @@ bool WebViewImpl::shouldDisableDesktopWorkarounds() |
|| (constraints.minimumScale == constraints.maximumScale && constraints.minimumScale != -1); |
} |
+void WebViewImpl::forceNextWebGLContextCreationToFail() |
+{ |
+ WebGLRenderingContext::forceNextWebGLContextCreationToFail(); |
+} |
+ |
} // namespace blink |