Index: third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h b/third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h |
similarity index 97% |
copy from third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
copy to third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h |
index cc6597ce1d79467196aef2bee2172dd7c4ce5a29..799d8e8dfd4398ded42a9378135a43d7ef962e50 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h |
+++ b/third_party/WebKit/Source/platform/bindings/WrapperTypeInfo.h |
@@ -31,8 +31,8 @@ |
#ifndef WrapperTypeInfo_h |
#define WrapperTypeInfo_h |
-#include "bindings/core/v8/ActiveScriptWrappable.h" |
#include "gin/public/wrapper_info.h" |
+#include "platform/bindings/ActiveScriptWrappable.h" |
#include "platform/heap/Handle.h" |
#include "platform/wtf/Allocator.h" |
#include "platform/wtf/Assertions.h" |
@@ -156,10 +156,11 @@ struct WrapperTypeInfo { |
v8::Local<v8::Object> prototype_object, |
v8::Local<v8::Function> interface_object, |
v8::Local<v8::FunctionTemplate> interface_template) const { |
- if (prepare_prototype_and_interface_object_function) |
+ if (prepare_prototype_and_interface_object_function) { |
prepare_prototype_and_interface_object_function( |
context, world, prototype_object, interface_object, |
interface_template); |
+ } |
} |
bool IsActiveScriptWrappable() const { |
@@ -182,7 +183,7 @@ struct WrapperTypeInfo { |
const unsigned wrapper_class_id : 2; // WrapperClassId |
const unsigned // ActiveScriptWrappableInheritance |
active_script_wrappable_inheritance : 1; |
- const unsigned lifetime : 1; // Lifetime |
+ const unsigned lifetime : 1; // Lifetime |
}; |
template <typename T, int offset> |