Chromium Code Reviews| Index: third_party/WebKit/Source/modules/fetch/Response.h |
| diff --git a/third_party/WebKit/Source/modules/fetch/Response.h b/third_party/WebKit/Source/modules/fetch/Response.h |
| index 291c6fb5e5278e948153da1a75130d0eefeb3b03..4d05ef365fb957f1009f50e544d5733b8aaabfc1 100644 |
| --- a/third_party/WebKit/Source/modules/fetch/Response.h |
| +++ b/third_party/WebKit/Source/modules/fetch/Response.h |
| @@ -26,7 +26,18 @@ class ScriptState; |
| class WebServiceWorkerResponse; |
| class MODULES_EXPORT Response final : public Body { |
| - DEFINE_WRAPPERTYPEINFO(); |
| + public: |
| + const WrapperTypeInfo* wrapperTypeInfo() const override { |
|
yhirano
2017/04/04 00:44:35
Can you add some comments explaining why these cus
Mircea Trofin
2017/04/04 04:08:12
Done.
|
| + return &s_wrapperTypeInfoOverride; |
| + } |
| + |
| + private: |
| + static v8::Local<v8::FunctionTemplate> installerOverride( |
| + v8::Isolate*, |
| + const DOMWrapperWorld&); |
| + static const WrapperTypeInfo& s_wrapperTypeInfo; |
| + static const WrapperTypeInfo s_wrapperTypeInfoOverride; |
| + |
| WTF_MAKE_NONCOPYABLE(Response); |
| public: |