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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBInTransferResult.h

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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/modules/webusb/USBInTransferResult.h
diff --git a/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h b/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h
index 8f559e6222e1e0a9bfbde37e942c65ed903a094a..ca54b2098fadb5bb496ca35a46ac543106693f05 100644
--- a/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h
+++ b/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h
@@ -33,13 +33,16 @@ public:
virtual ~USBInTransferResult() { }
String status() const { return m_status; }
- PassRefPtr<DOMDataView> data() const { return m_data; }
+ DOMDataView* data() const { return m_data; }
- DEFINE_INLINE_TRACE() { }
+ DEFINE_INLINE_TRACE()
+ {
+ visitor->trace(m_data);
+ }
private:
const String m_status;
- const RefPtr<DOMDataView> m_data;
+ const Member<DOMDataView> m_data;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698