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

Unified Diff: Source/web/WebDOMFileSystem.cpp

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 9 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
« no previous file with comments | « Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp ('k') | public/web/WebDOMFileSystem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDOMFileSystem.cpp
diff --git a/Source/web/WebDOMFileSystem.cpp b/Source/web/WebDOMFileSystem.cpp
index 631c58689e6399c4f21175bef276f13652c20404..406e4de06ef798a0cbc966557313825d1084c928 100644
--- a/Source/web/WebDOMFileSystem.cpp
+++ b/Source/web/WebDOMFileSystem.cpp
@@ -64,7 +64,7 @@ WebDOMFileSystem WebDOMFileSystem::create(
SerializableType serializableType)
{
ASSERT(frame && toWebFrameImpl(frame)->frame());
- RefPtr<DOMFileSystem> domFileSystem = DOMFileSystem::create(toWebFrameImpl(frame)->frame()->document(), name, static_cast<WebCore::FileSystemType>(type), rootURL);
+ RefPtrWillBeRawPtr<DOMFileSystem> domFileSystem = DOMFileSystem::create(toWebFrameImpl(frame)->frame()->document(), name, static_cast<WebCore::FileSystemType>(type), rootURL);
if (serializableType == SerializableTypeSerializable)
domFileSystem->makeClonable();
return WebDOMFileSystem(domFileSystem);
@@ -129,20 +129,15 @@ v8::Handle<v8::Value> WebDOMFileSystem::createV8Entry(
return toV8(FileEntry::create(m_private.get(), path), v8::Handle<v8::Object>(), toIsolate(m_private->executionContext()));
}
-WebDOMFileSystem::WebDOMFileSystem(const WTF::PassRefPtr<DOMFileSystem>& domFileSystem)
+WebDOMFileSystem::WebDOMFileSystem(const PassRefPtrWillBeRawPtr<DOMFileSystem>& domFileSystem)
: m_private(domFileSystem)
{
}
-WebDOMFileSystem& WebDOMFileSystem::operator=(const WTF::PassRefPtr<WebCore::DOMFileSystem>& domFileSystem)
+WebDOMFileSystem& WebDOMFileSystem::operator=(const PassRefPtrWillBeRawPtr<WebCore::DOMFileSystem>& domFileSystem)
{
m_private = domFileSystem;
return *this;
}
-WebDOMFileSystem::operator WTF::PassRefPtr<WebCore::DOMFileSystem>() const
-{
- return m_private.get();
-}
-
} // namespace blink
« no previous file with comments | « Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp ('k') | public/web/WebDOMFileSystem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698