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

Unified Diff: Source/core/clipboard/DataObjectItem.h

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 10 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/core/clipboard/DataObject.cpp ('k') | Source/core/clipboard/DataObjectItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataObjectItem.h
diff --git a/Source/core/clipboard/DataObjectItem.h b/Source/core/clipboard/DataObjectItem.h
index 31f3a108d4860881a71f16f9a30c071e3cfd983f..d43cf8b8ab9a0b2c0bfe241de02851e4d2ce4950 100644
--- a/Source/core/clipboard/DataObjectItem.h
+++ b/Source/core/clipboard/DataObjectItem.h
@@ -51,7 +51,7 @@ public:
};
static PassRefPtrWillBeRawPtr<DataObjectItem> createFromString(const String& type, const String& data);
- static PassRefPtrWillBeRawPtr<DataObjectItem> createFromFile(PassRefPtr<File>);
+ static PassRefPtrWillBeRawPtr<DataObjectItem> createFromFile(PassRefPtrWillBeRawPtr<File>);
static PassRefPtrWillBeRawPtr<DataObjectItem> createFromURL(const String& url, const String& title);
static PassRefPtrWillBeRawPtr<DataObjectItem> createFromHTML(const String& html, const KURL& baseURL);
static PassRefPtrWillBeRawPtr<DataObjectItem> createFromSharedBuffer(const String& filename, PassRefPtr<SharedBuffer>);
@@ -60,7 +60,7 @@ public:
Kind kind() const { return m_kind; }
String type() const { return m_type; }
String getAsString() const;
- PassRefPtr<Blob> getAsFile() const;
+ PassRefPtrWillBeRawPtr<Blob> getAsFile() const;
// Used to support legacy DataTransfer APIs and renderer->browser serialization.
PassRefPtr<SharedBuffer> sharedBuffer() const { return m_sharedBuffer; }
@@ -68,7 +68,7 @@ public:
KURL baseURL() const { return m_baseURL; }
bool isFilename() const;
- void trace(Visitor*) { }
+ void trace(Visitor*);
private:
enum DataSource {
@@ -84,7 +84,7 @@ private:
String m_type;
String m_data;
- RefPtr<File> m_file;
+ RefPtrWillBeMember<File> m_file;
RefPtr<SharedBuffer> m_sharedBuffer;
// Optional metadata. Currently used for URL, HTML, and dragging files in.
String m_title;
« no previous file with comments | « Source/core/clipboard/DataObject.cpp ('k') | Source/core/clipboard/DataObjectItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698