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

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

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/web/WebArrayBufferView.cpp
diff --git a/third_party/WebKit/Source/web/WebArrayBufferView.cpp b/third_party/WebKit/Source/web/WebArrayBufferView.cpp
index eaec1df37fc77e5d33401095f0d71f31bd07d451..310033c4e59033624d88741e57067dc61b56dc32 100644
--- a/third_party/WebKit/Source/web/WebArrayBufferView.cpp
+++ b/third_party/WebKit/Source/web/WebArrayBufferView.cpp
@@ -65,18 +65,18 @@ WebArrayBufferView* WebArrayBufferView::createFromV8Value(v8::Local<v8::Value> v
return new WebArrayBufferView(view);
}
-WebArrayBufferView::WebArrayBufferView(const PassRefPtr<DOMArrayBufferView>& value)
+WebArrayBufferView::WebArrayBufferView(DOMArrayBufferView* value)
: m_private(value)
{
}
-WebArrayBufferView& WebArrayBufferView::operator=(const PassRefPtr<DOMArrayBufferView>& value)
+WebArrayBufferView& WebArrayBufferView::operator=(DOMArrayBufferView* value)
{
m_private = value;
return *this;
}
-WebArrayBufferView::operator PassRefPtr<DOMArrayBufferView>() const
+WebArrayBufferView::operator DOMArrayBufferView*() const
{
return m_private.get();
}

Powered by Google App Engine
This is Rietveld 408576698