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

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

Issue 309553002: Add ByteString support to IDL bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add [Default=NullString] support 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 7aa42e0b6241d5d9ea3360a4bf507595481eb053..69f849b31e96ede89691336cd3e205777abe3d23 100644
--- a/Source/bindings/v8/V8StringResource.h
+++ b/Source/bindings/v8/V8StringResource.h
@@ -185,6 +185,11 @@ public:
m_v8Object = object;
}
+ void operator=(const String& string)
+ {
+ setString(string);
+ }
+
bool prepare()
{
if (m_v8Object.IsEmpty())

Powered by Google App Engine
This is Rietveld 408576698