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

Unified Diff: third_party/WebKit/Source/web/WebArrayBufferView.cpp

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/web/WebArrayBufferView.cpp
diff --git a/third_party/WebKit/Source/web/WebArrayBufferView.cpp b/third_party/WebKit/Source/web/WebArrayBufferView.cpp
index 310033c4e59033624d88741e57067dc61b56dc32..eaec1df37fc77e5d33401095f0d71f31bd07d451 100644
--- a/third_party/WebKit/Source/web/WebArrayBufferView.cpp
+++ b/third_party/WebKit/Source/web/WebArrayBufferView.cpp
@@ -65,18 +65,18 @@
return new WebArrayBufferView(view);
}
-WebArrayBufferView::WebArrayBufferView(DOMArrayBufferView* value)
+WebArrayBufferView::WebArrayBufferView(const PassRefPtr<DOMArrayBufferView>& value)
: m_private(value)
{
}
-WebArrayBufferView& WebArrayBufferView::operator=(DOMArrayBufferView* value)
+WebArrayBufferView& WebArrayBufferView::operator=(const PassRefPtr<DOMArrayBufferView>& value)
{
m_private = value;
return *this;
}
-WebArrayBufferView::operator DOMArrayBufferView*() const
+WebArrayBufferView::operator PassRefPtr<DOMArrayBufferView>() const
{
return m_private.get();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebArrayBufferConverter.cpp ('k') | third_party/WebKit/Source/web/WebPepperSocketImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698