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

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

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 7aa42e0b6241d5d9ea3360a4bf507595481eb053..de1c6b238f56940bcf9ed82434e7c885f8f16edd 100644
--- a/Source/bindings/v8/V8StringResource.h
+++ b/Source/bindings/v8/V8StringResource.h
@@ -185,6 +185,11 @@ public:
m_v8Object = object;
}
+ void operator=(String string)
Nils Barth (inactive) 2014/06/04 05:22:25 ...and this also in followup?
+ {
+ setString(string);
+ }
+
bool prepare()
{
if (m_v8Object.IsEmpty())

Powered by Google App Engine
This is Rietveld 408576698