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

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 b81756c07c7e9fd8c65dfdf188866caa08aee5f7..dfcd372a8bbb127d7a41043afb8b8f01dd06629a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h
@@ -50,9 +50,6 @@ namespace blink {
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),
@@ -87,8 +84,6 @@ public:
v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
- V8NPObjectMap* getV8NPObjectMap() { return &m_v8NPObjectMap; }
-
void addCustomElementBinding(PassOwnPtr<CustomElementBinding>);
V8DOMActivityLogger* activityLogger() const { return m_activityLogger; }
@@ -113,8 +108,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