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

Unified Diff: third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h

Issue 1964183004: Revert of Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 d37f5c3f9b49955ac9111bb06df1e19da244d021..7f09a29fe8bf284dfb3cc465a157df73e1f3732e 100644
--- a/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h
+++ b/third_party/WebKit/Source/core/dom/FlexibleArrayBufferView.h
@@ -42,7 +42,7 @@
DOMArrayBufferView* full() const
{
DCHECK(isFull());
- return m_full;
+ return m_full.get();
}
// WARNING: The pointer returned by baseAddressMaybeOnStack() may point to
@@ -69,7 +69,7 @@
operator bool() const { return !isEmpty(); }
private:
- Member<DOMArrayBufferView> m_full;
+ RefPtr<DOMArrayBufferView> m_full;
void* m_smallData;
size_t m_smallLength;
« no previous file with comments | « third_party/WebKit/Source/core/dom/DataView.idl ('k') | third_party/WebKit/Source/core/dom/SharedArrayBuffer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698