Chromium Code Reviews| 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) |
| + { |
| + setString(String()); |
| + } |
| + |
| bool prepare() |
| { |
| if (m_v8Object.IsEmpty()) |