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

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

Issue 2837923003: Make NodeFilter a legacy callback interface. (Closed)
Patch Set: . Created 3 years, 8 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/WrapperTypeInfo.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
index cc6597ce1d79467196aef2bee2172dd7c4ce5a29..c028aa115fdb74c37ed006abf3670cf8d77b7bfe 100644
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h
@@ -83,6 +83,7 @@ struct WrapperTypeInfo {
enum WrapperTypePrototype {
kWrapperTypeObjectPrototype,
kWrapperTypeExceptionPrototype,
+ kWrapperTypeNoPrototype, // For legacy callback interface
};
enum WrapperClassId {
@@ -178,7 +179,7 @@ struct WrapperTypeInfo {
prepare_prototype_and_interface_object_function;
const char* const interface_name;
const WrapperTypeInfo* parent_class;
- const unsigned wrapper_type_prototype : 1; // WrapperTypePrototype
+ const unsigned wrapper_type_prototype : 2; // WrapperTypePrototype
const unsigned wrapper_class_id : 2; // WrapperClassId
const unsigned // ActiveScriptWrappableInheritance
active_script_wrappable_inheritance : 1;

Powered by Google App Engine
This is Rietveld 408576698