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

Unified Diff: third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.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/core/dom/FlexibleArrayBufferView.h
diff --git a/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h b/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h
index 7f09a29fe8bf284dfb3cc465a157df73e1f3732e..d37f5c3f9b49955ac9111bb06df1e19da244d021 100644
--- a/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h
+++ b/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h
@@ -42,7 +42,7 @@ public:
DOMArrayBufferView* full() const
{
DCHECK(isFull());
- return m_full.get();
+ return m_full;
}
// WARNING: The pointer returned by baseAddressMaybeOnStack() may point to
@@ -69,7 +69,7 @@ public:
operator bool() const { return !isEmpty(); }
private:
- RefPtr<DOMArrayBufferView> m_full;
+ Member<DOMArrayBufferView> m_full;
void* m_smallData;
size_t m_smallLength;

Powered by Google App Engine
This is Rietveld 408576698