Index: Source/web/WebBlob.cpp |
diff --git a/Source/web/WebBlob.cpp b/Source/web/WebBlob.cpp |
index 4829660370f28676f9836108b2788232775244c8..df23d07de8bc10e736e266a628746e58792c0f40 100644 |
--- a/Source/web/WebBlob.cpp |
+++ b/Source/web/WebBlob.cpp |
@@ -45,7 +45,7 @@ WebBlob WebBlob::createFromFile(const WebString& path, long long size) |
{ |
OwnPtr<BlobData> blobData = BlobData::create(); |
blobData->appendFile(path); |
- RefPtr<Blob> blob = Blob::create(BlobDataHandle::create(blobData.release(), size)); |
+ RefPtrWillBeRawPtr<Blob> blob = Blob::create(BlobDataHandle::create(blobData.release(), size)); |
return WebBlob(blob); |
} |
@@ -77,27 +77,22 @@ WebString WebBlob::uuid() |
return m_private->uuid(); |
} |
-v8::Handle<v8::Value> WebBlob::toV8Value() |
+v8::Handle<v8::Value> WebBlob::toV8Value() |
{ |
if (!m_private.get()) |
return v8::Handle<v8::Value>(); |
return toV8(m_private.get(), v8::Handle<v8::Object>(), v8::Isolate::GetCurrent()); |
} |
-WebBlob::WebBlob(const WTF::PassRefPtr<WebCore::Blob>& blob) |
+WebBlob::WebBlob(const PassRefPtrWillBeRawPtr<WebCore::Blob>& blob) |
: m_private(blob) |
{ |
} |
-WebBlob& WebBlob::operator=(const WTF::PassRefPtr<WebCore::Blob>& blob) |
+WebBlob& WebBlob::operator=(const PassRefPtrWillBeRawPtr<WebCore::Blob>& blob) |
{ |
m_private = blob; |
return *this; |
} |
-WebBlob::operator WTF::PassRefPtr<WebCore::Blob>() const |
-{ |
- return m_private.get(); |
-} |
- |
} // namespace blink |