Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: Source/bindings/v8/custom/V8DocumentCustom.cpp

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/custom/V8DocumentCustom.cpp
diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp
index 45a593263beccb6d12761170a9459b0f920e9cb5..8993ac17209f1de183f1f4c84a6acc845c04350e 100644
--- a/Source/bindings/v8/custom/V8DocumentCustom.cpp
+++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp
@@ -71,7 +71,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
RefPtr<XPathNSResolver> resolver = toXPathNSResolver(args[2], args.GetIsolate());
if (!resolver && !args[2]->IsNull() && !args[2]->IsUndefined()) {
- setDOMException(TYPE_MISMATCH_ERR, args.GetIsolate());
+ setDOMException(TypeMismatchError, args.GetIsolate());
return;
}
« no previous file with comments | « Source/bindings/v8/custom/V8CustomXPathNSResolver.cpp ('k') | Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698