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()) |