Commit 1768ccd7 authored by sigbjornf@opera.com's avatar sigbjornf@opera.com

Oilpan: fix build after r200912.

TBR=oilpan-reviews
BUG=492204
NOTRY=true

Review URL: https://codereview.chromium.org/1298253004

git-svn-id: svn://svn.chromium.org/blink/trunk@200925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 108fea57
...@@ -21,15 +21,12 @@ class USB final ...@@ -21,15 +21,12 @@ class USB final
: public RefCountedGarbageCollectedEventTargetWithInlineData<USB> { : public RefCountedGarbageCollectedEventTargetWithInlineData<USB> {
DEFINE_WRAPPERTYPEINFO(); DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(USB); REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(USB);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(USB);
public: public:
static USB* create(LocalFrame& frame) static USB* create(LocalFrame& frame)
{ {
return new USB(frame); return new USB(frame);
} }
explicit USB(LocalFrame& frame);
// USB.idl // USB.idl
ScriptPromise getDevices(ScriptState*); ScriptPromise getDevices(ScriptState*);
ScriptPromise requestDevice(ScriptState*, const USBDeviceRequestOptions&); ScriptPromise requestDevice(ScriptState*, const USBDeviceRequestOptions&);
...@@ -43,6 +40,8 @@ public: ...@@ -43,6 +40,8 @@ public:
DECLARE_VIRTUAL_TRACE(); DECLARE_VIRTUAL_TRACE();
private: private:
explicit USB(LocalFrame& frame);
RawPtrWillBeMember<USBController> m_controller; RawPtrWillBeMember<USBController> m_controller;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment