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

Unified Diff: Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp

Issue 368313005: IDL: Add support for [TreatNullAs=EmptyString] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix debug compilation Created 6 years, 5 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/core/v8/custom/V8CustomXPathNSResolver.cpp
diff --git a/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp b/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
index b0c2db0cf808a2f043eda181331ca018dc9bd517..ff74762ddd8c8bd177c001729fefa1456270164e 100644
--- a/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
+++ b/Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
@@ -86,7 +86,7 @@ AtomicString V8CustomXPathNSResolver::lookupNamespaceURI(const String& prefix)
if (tryCatch.HasCaught())
return nullAtom;
- TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, returnString, retval, nullAtom);
+ TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, returnString, retval, nullAtom);
return returnString;
}
« no previous file with comments | « Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp ('k') | Source/bindings/core/v8/custom/V8HistoryCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698