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

Unified Diff: Source/bindings/v8/V8StringResource.h

Issue 335113002: IDL: Support argument default values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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/V8StringResource.h
diff --git a/Source/bindings/v8/V8StringResource.h b/Source/bindings/v8/V8StringResource.h
index 69f849b31e96ede89691336cd3e205777abe3d23..968cac6d36d007599cc111206b5dca16724d0ed1 100644
--- a/Source/bindings/v8/V8StringResource.h
+++ b/Source/bindings/v8/V8StringResource.h
@@ -190,6 +190,11 @@ public:
setString(string);
}
+ void operator=(std::nullptr_t)
Nils Barth (inactive) 2014/06/17 03:40:32 BTW, is this going away, as |null| is invalid for
+ {
+ setString(String());
+ }
+
bool prepare()
{
if (m_v8Object.IsEmpty())

Powered by Google App Engine
This is Rietveld 408576698