Index: third_party/WebKit/Source/core/dom/MutationObserver.cpp |
diff --git a/third_party/WebKit/Source/core/dom/MutationObserver.cpp b/third_party/WebKit/Source/core/dom/MutationObserver.cpp |
index d0abebffa307ab991be556e9a3ad3fd8f69f66b6..774d4659b8ca85ff1b10cb862172450539464dda 100644 |
--- a/third_party/WebKit/Source/core/dom/MutationObserver.cpp |
+++ b/third_party/WebKit/Source/core/dom/MutationObserver.cpp |
@@ -77,10 +77,7 @@ MutationObserver::~MutationObserver() |
void MutationObserver::observe(Node* node, const MutationObserverInit& observerInit, ExceptionState& exceptionState) |
{ |
- if (!node) { |
- exceptionState.throwDOMException(NotFoundError, "The provided node was null."); |
- return; |
- } |
+ ASSERT(node); |
MutationObserverOptions options = 0; |