| Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| index e81bdd29998b3d137c3d5cc2807352d5ab37e358..f18e9c4a9ed0bc5ad2d016ae31ccb8b69524a40d 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
|
| @@ -407,6 +407,13 @@ inline v8::Local<v8::String> v8String(v8::Isolate* isolate, const String& string
|
| return V8PerIsolateData::from(isolate)->getStringCache()->v8ExternalString(isolate, string.impl());
|
| }
|
|
|
| +inline v8::Local<v8::Value> v8StringOrNull(v8::Isolate* isolate, const AtomicString& string)
|
| +{
|
| + if (string.isNull())
|
| + return v8::Null(isolate);
|
| + return V8PerIsolateData::from(isolate)->getStringCache()->v8ExternalString(isolate, string.impl());
|
| +}
|
| +
|
| inline v8::Local<v8::String> v8String(v8::Isolate* isolate, const CompressibleString& string)
|
| {
|
| if (string.isNull())
|
|
|