Commit b5565735 authored by vivek.vg@samsung.com's avatar vivek.vg@samsung.com

[bindings] Cleanup unused method v8ValueUnsafe from ScriptValue

Review URL: https://codereview.chromium.org/1310643004

git-svn-id: svn://svn.chromium.org/blink/trunk@201052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2d28249d
...@@ -55,13 +55,6 @@ v8::Local<v8::Value> ScriptValue::v8Value() const ...@@ -55,13 +55,6 @@ v8::Local<v8::Value> ScriptValue::v8Value() const
return m_value->newLocal(isolate()); return m_value->newLocal(isolate());
} }
v8::Local<v8::Value> ScriptValue::v8ValueUnsafe() const
{
if (isEmpty())
return v8::Local<v8::Value>();
return m_value->newLocal(isolate());
}
v8::Local<v8::Value> ScriptValue::v8ValueFor(ScriptState* targetScriptState) const v8::Local<v8::Value> ScriptValue::v8ValueFor(ScriptState* targetScriptState) const
{ {
if (isEmpty()) if (isEmpty())
......
...@@ -169,8 +169,6 @@ public: ...@@ -169,8 +169,6 @@ public:
} }
v8::Local<v8::Value> v8Value() const; v8::Local<v8::Value> v8Value() const;
// TODO(bashi): Remove v8ValueUnsafe().
v8::Local<v8::Value> v8ValueUnsafe() const;
// Returns v8Value() if a given ScriptState is the same as the // Returns v8Value() if a given ScriptState is the same as the
// ScriptState which is associated with this ScriptValue. Otherwise // ScriptState which is associated with this ScriptValue. Otherwise
// this "clones" the v8 value and returns it. // this "clones" the v8 value and returns it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment