Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
index 00d12d94473102318911cb6ecfa5ece56338c249..801a1a86f064b10cc3a0302cd77b1026308c9344 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
@@ -51,9 +51,6 @@ namespace blink {
class CustomElementDefinition;
class V8DOMActivityLogger;
class V8PerContextData;
-struct V8NPObject;
-typedef WTF::Vector<V8NPObject*> V8NPObjectVector;
-typedef WTF::HashMap<int, V8NPObjectVector> V8NPObjectMap;
enum V8ContextEmbedderDataField {
v8ContextPerContextDataIndex = static_cast<int>(gin::kPerContextDataStartIndex + gin::kEmbedderBlink),
@@ -88,8 +85,6 @@ public:
v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
- V8NPObjectMap* getV8NPObjectMap() { return &m_v8NPObjectMap; }
-
void addCustomElementBinding(CustomElementDefinition*, PassOwnPtr<CustomElementBinding>);
V8DOMActivityLogger* activityLogger() const { return m_activityLogger; }
@@ -114,8 +109,6 @@ private:
typedef V8GlobalValueMap<const WrapperTypeInfo*, v8::Function, v8::kNotWeak> ConstructorMap;
ConstructorMap m_constructorMap;
- V8NPObjectMap m_v8NPObjectMap;
-
OwnPtr<gin::ContextHolder> m_contextHolder;
ScopedPersistent<v8::Context> m_context;

Powered by Google App Engine
This is Rietveld 408576698