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

Unified Diff: Source/bindings/core/v8/ScriptEventListener.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
« no previous file with comments | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/bindings/core/v8/V8Binding.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptEventListener.cpp
diff --git a/Source/bindings/core/v8/ScriptEventListener.cpp b/Source/bindings/core/v8/ScriptEventListener.cpp
index dc6ca45e7f8981af1c5adcc3e0ae9e87e1782fcf..395905d427186f4290d7b51d78c5c0c50d5c04a7 100644
--- a/Source/bindings/core/v8/ScriptEventListener.cpp
+++ b/Source/bindings/core/v8/ScriptEventListener.cpp
@@ -122,7 +122,7 @@ String eventListenerHandlerBody(Document* document, EventListener* listener)
if (function.IsEmpty())
return "";
- TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, functionString, function, "");
+ TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, functionString, function, "");
return functionString;
}
« no previous file with comments | « Source/bindings/IDLExtendedAttributes.txt ('k') | Source/bindings/core/v8/V8Binding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698