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 35a426b533ef31e41da6d2e66912d3e3f4a81441..004d117cdf342507c690aef9e70ea22916a9239e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h |
@@ -48,7 +48,6 @@ |
#include "bindings/core/v8/V8ValueCache.h" |
#include "core/CoreExport.h" |
#include "platform/heap/Handle.h" |
-#include "platform/text/CompressibleString.h" |
#include "wtf/text/AtomicString.h" |
#include "wtf/text/StringView.h" |
#include <v8.h> |
@@ -415,13 +414,6 @@ inline v8::Local<v8::Value> v8StringOrNull(v8::Isolate* isolate, const AtomicStr |
return V8PerIsolateData::from(isolate)->getStringCache()->v8ExternalString(isolate, string.impl()); |
} |
-inline v8::Local<v8::String> v8String(v8::Isolate* isolate, const CompressibleString& string) |
-{ |
- if (string.isNull()) |
- return v8::String::Empty(isolate); |
- return V8PerIsolateData::from(isolate)->getStringCache()->v8ExternalString(isolate, string); |
-} |
- |
inline v8::Local<v8::String> v8AtomicString(v8::Isolate* isolate, const StringView& string) |
{ |
DCHECK(isolate); |