Index: third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
index fd5ae040a01d31bbdd2c5275fa63c9f58ea9ad29..31e18441262b02e8000ccbf9c16fd2ba3815ec1b 100644 |
--- a/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
+++ b/third_party/WebKit/Source/core/dom/CompositorProxy.cpp |
@@ -105,7 +105,6 @@ CompositorProxy* CompositorProxy::create(ExecutionContext* context, Element* ele |
{ |
if (!context->isDocument()) { |
exceptionState.throwTypeError(ExceptionMessages::failedToConstruct("CompositorProxy", "Can only be created from the main context.")); |
- exceptionState.throwIfNeeded(); |
return nullptr; |
} |