Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
index 7c7f2ede94b480e8a5869fa9af2897653f5a6e82..a3cc1da8182c721b93b902f67c7778c802ccabcd 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -34,7 +34,7 @@ void setDictionaryMembers(DOMMatrixInit& other) { |
} |
String getErrorMessage(const char* a, const char* b) { |
- return String::format("The '%s' property should eqaul the '%s' property.", a, |
+ return String::format("The '%s' property should equal the '%s' property.", a, |
b); |
} |
@@ -127,8 +127,10 @@ DOMMatrixReadOnly* DOMMatrixReadOnly::fromFloat64Array( |
DOMMatrixReadOnly* DOMMatrixReadOnly::fromMatrix( |
DOMMatrixInit& other, |
ExceptionState& exceptionState) { |
- if (!validateAndFixup(other, exceptionState)) |
+ if (!validateAndFixup(other, exceptionState)) { |
+ DCHECK(exceptionState.hadException()); |
return nullptr; |
+ } |
if (other.is2D()) { |
double args[] = {other.m11(), other.m12(), other.m21(), |