@nativescript/canvas 2.0.0-rc.2 → 2.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -113,29 +113,6 @@ ConvertFromV8String(v8::Isolate *isolate, const v8::Local<v8::Value> &value) {
113
113
  }
114
114
 
115
115
 
116
- inline static std::string_view
117
- ConvertFromV8StringView(v8::Isolate *isolate, const v8::Local<v8::Value> &value) {
118
- if (value.IsEmpty()) {
119
- return {};
120
- }
121
-
122
- if (value->IsStringObject()) {
123
- v8::Local<v8::String> obj = value.As<v8::StringObject>()->ValueOf();
124
- return ConvertFromV8String(isolate, obj);
125
- }
126
-
127
- v8::String::Utf8Value result(isolate, value);
128
-
129
- const char *val = *result;
130
-
131
- if (val == nullptr) {
132
- return {};
133
- }
134
-
135
- return {*result};
136
- }
137
-
138
-
139
116
  static void SetFastMethod(v8::Isolate *isolate,
140
117
  v8::Local<v8::Template> that,
141
118
  const char *name,