Index: third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp b/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp |
index b04f27386a8bf845f64c78a63825dceafd4ffc9a..c0e2335120b336c3a54ecae16b8767593c101e89 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8HiddenValue.cpp |
@@ -10,18 +10,6 @@ |
namespace blink { |
-#define V8_DEFINE_METHOD(name) \ |
- v8::Local<v8::String> V8HiddenValue::name(v8::Isolate* isolate) { \ |
- V8HiddenValue* hiddenValue = \ |
- V8PerIsolateData::from(isolate)->hiddenValue(); \ |
- if (hiddenValue->m_##name.isEmpty()) { \ |
- hiddenValue->m_##name.set(isolate, v8AtomicString(isolate, #name)); \ |
- } \ |
- return hiddenValue->m_##name.newLocal(isolate); \ |
- } |
- |
-V8_HIDDEN_VALUES(V8_DEFINE_METHOD); |
- |
v8::Local<v8::Value> V8HiddenValue::getHiddenValue(ScriptState* scriptState, |
v8::Local<v8::Object> object, |
v8::Local<v8::String> key) { |
@@ -59,14 +47,4 @@ bool V8HiddenValue::deleteHiddenValue(ScriptState* scriptState, |
v8::Undefined(scriptState->isolate()))); |
} |
-v8::Local<v8::Value> V8HiddenValue::getHiddenValueFromMainWorldWrapper( |
- ScriptState* scriptState, |
- ScriptWrappable* wrappable, |
- v8::Local<v8::String> key) { |
- v8::Local<v8::Object> wrapper = |
- wrappable->mainWorldWrapper(scriptState->isolate()); |
- return wrapper.IsEmpty() ? v8::Local<v8::Value>() |
- : getHiddenValue(scriptState, wrapper, key); |
-} |
- |
} // namespace blink |