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

Issue 176853004: Oilpan: move core/fileapi to oilpan's heap. (Closed)

Created:
6 years, 10 months ago by sof
Modified:
6 years, 9 months ago
CC:
blink-reviews, eae+blinkwatch, eric.carlson_apple.com, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, rwlbuis, Nils Barth (inactive), jamesr, caseq+blink_chromium.org, Nate Chapin, arv+blink, alecflett, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, devtools-reviews_chromium.org, philipj_slow, loislo+blink_chromium.org, Mads Ager (chromium), lushnikov+blink_chromium.org, kinuko, eustas+blink_chromium.org, tommyw+watchlist_chromium.org, paulirish+reviews_chromium.org, kojih, jsbell, jsbell+bindings_chromium.org, feature-media-reviews_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, Inactive, cmumford, dgrogan, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move core/fileapi to oilpan's heap. This moves the File API and its objects to Oilpan using transition types. R=haraken@chromium.org,tkent@chromium.org BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168460

Patch Set 1 #

Total comments: 29

Patch Set 2 : Remove some rough edges #

Patch Set 3 : Rebased #

Total comments: 10

Patch Set 4 : Add missing DOMFormData::trace() method #

Patch Set 5 : Rebased + add missing USED_FROM_MULTIPLE_THREADS(Event) #

Total comments: 7

Patch Set 6 : Rebased + tidied #

Patch Set 7 : Rebased #

Patch Set 8 : Rebased #

Total comments: 1

Patch Set 9 : Rebased + remove obstructing DOMFormData::trace() #

Total comments: 4

Patch Set 10 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -190 lines) Patch
M Source/bindings/v8/Dictionary.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/Dictionary.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/v8/SerializedScriptValue.cpp View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -5 lines 0 comments Download
M Source/bindings/v8/custom/V8BlobCustom.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/v8/custom/V8FileCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/Clipboard.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/Clipboard.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/clipboard/DataObject.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/DataObject.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/DataObjectItem.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/clipboard/DataObjectItem.cpp View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M Source/core/clipboard/DataTransferItem.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/DataTransferItem.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/DataTransferItemList.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/clipboard/DataTransferItemList.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DOMError.h View 1 2 1 chunk +12 lines, -9 lines 0 comments Download
M Source/core/dom/DOMError.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/events/MessageEvent.h View 1 2 3 4 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/events/MessageEvent.cpp View 1 2 3 4 8 9 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fileapi/Blob.h View 1 2 3 4 3 chunks +9 lines, -6 lines 0 comments Download
M Source/core/fileapi/Blob.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/fileapi/Blob.idl View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fileapi/File.h View 1 2 3 4 2 chunks +16 lines, -15 lines 0 comments Download
M Source/core/fileapi/File.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/fileapi/FileError.h View 2 chunks +5 lines, -1 line 0 comments Download
M Source/core/fileapi/FileList.h View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M Source/core/fileapi/FileList.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/fileapi/FileList.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fileapi/FileReader.h View 1 2 3 4 5 chunks +8 lines, -5 lines 0 comments Download
M Source/core/fileapi/FileReader.cpp View 1 2 3 4 5 6 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/fileapi/FileReader.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fileapi/FileReaderSync.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/fileapi/FileReaderSync.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fileapi/Stream.h View 1 2 3 4 5 6 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/fileapi/Stream.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/html/DOMFormData.h View 1 2 4 5 6 7 8 2 chunks +11 lines, -3 lines 0 comments Download
M Source/core/html/FormData.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/FormDataList.h View 1 2 3 4 5 3 chunks +20 lines, -6 lines 0 comments Download
M Source/core/html/FormDataList.cpp View 1 2 3 4 5 6 3 chunks +12 lines, -2 lines 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/FileInputType.h View 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/html/forms/FileInputType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/forms/InputType.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/InputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorDOMAgent.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FormSubmission.cpp View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/filesystem/DOMFileSystem.h View 6 chunks +7 lines, -6 lines 0 comments Download
M Source/modules/filesystem/DOMFileSystem.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/filesystem/DOMFileSystemBase.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/filesystem/DOMFileSystemSync.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/filesystem/DOMFileSystemSync.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/filesystem/FileEntrySync.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/filesystem/FileEntrySync.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/filesystem/FileWriter.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/filesystem/InspectorFileSystemAgent.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabase.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabase.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabaseCallbacks.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabaseCallbacks.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBRequest.h View 4 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.h View 4 chunks +5 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBTransactionTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasource/SourceBuffer.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/mediasource/SourceBuffer.cpp View 1 2 3 4 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/mediastream/RTCDataChannel.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/mediastream/RTCDataChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerError.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/webmidi/MIDIAccessPromise.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/webmidi/MIDIAccessPromise.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/websockets/WebSocket.cpp View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/web/WebBlob.cpp View 1 2 chunks +4 lines, -9 lines 0 comments Download
M Source/web/WebDOMError.cpp View 1 1 chunk +2 lines, -7 lines 0 comments Download
M Source/web/WebDragData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebIDBDatabaseError.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSearchableFormData.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M public/platform/WebIDBDatabaseError.h View 1 chunk +1 line, -1 line 0 comments Download
M public/web/WebBlob.h View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M public/web/WebDOMError.h View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
sof
When you have a spare moment next, please take a look. This CL needs https://codereview.chromium.org/174963002/ ...
6 years, 10 months ago (2014-02-24 13:11:04 UTC) #1
sof
https://codereview.chromium.org/176853004/diff/1/Source/core/html/forms/FileInputType.h File Source/core/html/forms/FileInputType.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/html/forms/FileInputType.h#newcode80 Source/core/html/forms/FileInputType.h:80: RefPtrWillBePersistent<FileList> m_fileList; This persistent isn't promptly released & GCed ...
6 years, 10 months ago (2014-02-24 13:12:42 UTC) #2
haraken
https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h File Source/core/fileapi/FileError.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h#newcode44 Source/core/fileapi/FileError.h:44: class FileError : public DOMError { Let's override a ...
6 years, 10 months ago (2014-02-24 13:49:13 UTC) #3
sof
https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h File Source/core/fileapi/FileError.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h#newcode44 Source/core/fileapi/FileError.h:44: class FileError : public DOMError { On 2014/02/24 13:49:14, ...
6 years, 10 months ago (2014-02-24 17:09:08 UTC) #4
haraken
It looks like we need to address the FileInputType issue first. Once it's resolved, I'm ...
6 years, 10 months ago (2014-02-25 01:37:46 UTC) #5
sof
On 2014/02/25 01:37:46, haraken wrote: > It looks like we need to address the FileInputType ...
6 years, 10 months ago (2014-02-26 08:35:35 UTC) #6
haraken
> > Would you mind digging into the issue? This sounds like a real bug ...
6 years, 10 months ago (2014-02-26 08:38:03 UTC) #7
sof
On 2014/02/26 08:38:03, haraken wrote: > > > Would you mind digging into the issue? ...
6 years, 10 months ago (2014-02-26 08:46:38 UTC) #8
haraken
On 2014/02/26 08:46:38, sof wrote: > On 2014/02/26 08:38:03, haraken wrote: > > > > ...
6 years, 10 months ago (2014-02-26 08:52:57 UTC) #9
sof
On 2014/02/26 08:52:57, haraken wrote: > On 2014/02/26 08:46:38, sof wrote: > > On 2014/02/26 ...
6 years, 10 months ago (2014-02-26 10:23:14 UTC) #10
haraken
> Hmm, after rebasing & re-testing, I'm unable to reproduce the problem of having > ...
6 years, 10 months ago (2014-02-26 10:48:01 UTC) #11
Mads Ager (chromium)
https://codereview.chromium.org/176853004/diff/210001/Source/core/clipboard/DataObjectItem.cpp File Source/core/clipboard/DataObjectItem.cpp (right): https://codereview.chromium.org/176853004/diff/210001/Source/core/clipboard/DataObjectItem.cpp#newcode110 Source/core/clipboard/DataObjectItem.cpp:110: return m_file.get(); Just curious: do you remember why you ...
6 years, 10 months ago (2014-02-26 11:00:27 UTC) #12
sof
On 2014/02/26 10:48:01, haraken wrote: > > Hmm, after rebasing & re-testing, I'm unable to ...
6 years, 10 months ago (2014-02-26 11:08:04 UTC) #13
sof
https://codereview.chromium.org/176853004/diff/210001/Source/core/html/DOMFormData.h File Source/core/html/DOMFormData.h (right): https://codereview.chromium.org/176853004/diff/210001/Source/core/html/DOMFormData.h#newcode49 Source/core/html/DOMFormData.h:49: class DOMFormData : public RefCountedWillBeGarbageCollectedFinalized<DOMFormData>, public FormDataList, public ScriptWrappable ...
6 years, 10 months ago (2014-02-26 16:10:35 UTC) #14
sof
https://codereview.chromium.org/176853004/diff/210001/Source/core/clipboard/DataObjectItem.cpp File Source/core/clipboard/DataObjectItem.cpp (right): https://codereview.chromium.org/176853004/diff/210001/Source/core/clipboard/DataObjectItem.cpp#newcode110 Source/core/clipboard/DataObjectItem.cpp:110: return m_file.get(); On 2014/02/26 11:00:29, Mads Ager (chromium) wrote: ...
6 years, 10 months ago (2014-02-26 21:51:24 UTC) #15
sof
https://codereview.chromium.org/176853004/diff/210001/Source/core/html/FormDataList.h File Source/core/html/FormDataList.h (right): https://codereview.chromium.org/176853004/diff/210001/Source/core/html/FormDataList.h#newcode37 Source/core/html/FormDataList.h:37: class Item { On 2014/02/26 21:51:25, sof wrote: > ...
6 years, 10 months ago (2014-02-26 21:58:40 UTC) #16
haraken
Thanks for being persistent! I'm happy to stamp LG once the FileInputType's lifetime issue is ...
6 years, 10 months ago (2014-02-27 01:19:28 UTC) #17
sof
https://codereview.chromium.org/176853004/diff/250001/Source/core/dom/DOMError.h File Source/core/dom/DOMError.h (right): https://codereview.chromium.org/176853004/diff/250001/Source/core/dom/DOMError.h#newcode63 Source/core/dom/DOMError.h:63: void trace(Visitor*) { } On 2014/02/27 01:19:29, haraken wrote: ...
6 years, 9 months ago (2014-02-27 06:48:06 UTC) #18
haraken
https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h File Source/core/fileapi/FileError.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h#newcode44 Source/core/fileapi/FileError.h:44: class FileError : public DOMError { On 2014/02/24 17:09:09, ...
6 years, 9 months ago (2014-02-27 06:53:21 UTC) #19
sof
https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h File Source/core/fileapi/FileError.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h#newcode44 Source/core/fileapi/FileError.h:44: class FileError : public DOMError { On 2014/02/27 06:53:22, ...
6 years, 9 months ago (2014-02-27 07:16:35 UTC) #20
haraken
https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h File Source/core/fileapi/FileError.h (right): https://codereview.chromium.org/176853004/diff/1/Source/core/fileapi/FileError.h#newcode44 Source/core/fileapi/FileError.h:44: class FileError : public DOMError { On 2014/02/27 07:16:36, ...
6 years, 9 months ago (2014-02-27 07:20:11 UTC) #21
sof
On 2014/02/27 01:19:28, haraken wrote: > Thanks for being persistent! > > I'm happy to ...
6 years, 9 months ago (2014-02-27 12:27:25 UTC) #22
haraken
On 2014/02/27 12:27:25, sof wrote: > On 2014/02/27 01:19:28, haraken wrote: > > Thanks for ...
6 years, 9 months ago (2014-02-27 12:29:54 UTC) #23
sof
On 2014/02/27 12:29:54, haraken wrote: > On 2014/02/27 12:27:25, sof wrote: > > On 2014/02/27 ...
6 years, 9 months ago (2014-02-27 12:49:51 UTC) #24
sof
This CL touches Source/web/ and platform/ ever so slightly -- could Cc:ed owners please take ...
6 years, 9 months ago (2014-02-27 17:04:01 UTC) #25
tkent
The patch is too large. Can you split this into multiple pieces? e.g. - DOMError ...
6 years, 9 months ago (2014-02-28 00:09:57 UTC) #26
sof
On 2014/02/28 00:09:57, tkent wrote: > The patch is too large. Can you split this ...
6 years, 9 months ago (2014-02-28 06:11:38 UTC) #27
sof
https://codereview.chromium.org/176853004/diff/290001/Source/core/events/MessageEvent.cpp File Source/core/events/MessageEvent.cpp (right): https://codereview.chromium.org/176853004/diff/290001/Source/core/events/MessageEvent.cpp#newcode190 Source/core/events/MessageEvent.cpp:190: visitor->trace(m_dataAsBlob); When rebasing this CL to have it cleanly ...
6 years, 9 months ago (2014-03-01 14:44:05 UTC) #28
tkent
lgtm. But please do not land this now because oilpan bots are on fire. https://codereview.chromium.org/176853004/diff/1/Source/heap/ThreadState.h ...
6 years, 9 months ago (2014-03-03 07:52:37 UTC) #29
sof
On 2014/03/03 07:52:37, tkent wrote: > lgtm. But please do not land this now because ...
6 years, 9 months ago (2014-03-03 10:14:29 UTC) #30
sof
Rebased the branch; which also meant changing MessageEvent back to keeping a Persistent to its ...
6 years, 9 months ago (2014-03-04 08:33:47 UTC) #31
tkent
https://codereview.chromium.org/176853004/diff/1/Source/heap/ThreadState.h File Source/heap/ThreadState.h (right): https://codereview.chromium.org/176853004/diff/1/Source/heap/ThreadState.h#newcode551 Source/heap/ThreadState.h:551: USED_FROM_MULTIPLE_THREADS(Blob); On 2014/03/04 08:33:49, sof wrote: > On 2014/03/03 ...
6 years, 9 months ago (2014-03-04 08:55:35 UTC) #32
sof
On 2014/03/04 08:55:35, tkent wrote: > https://codereview.chromium.org/176853004/diff/1/Source/heap/ThreadState.h > File Source/heap/ThreadState.h (right): > > https://codereview.chromium.org/176853004/diff/1/Source/heap/ThreadState.h#newcode551 > ...
6 years, 9 months ago (2014-03-04 09:41:41 UTC) #33
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-04 09:41:57 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/176853004/330001
6 years, 9 months ago (2014-03-04 09:42:15 UTC) #35
sof
The CQ bit was unchecked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-05 10:12:12 UTC) #36
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 9 months ago (2014-03-05 10:13:07 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/176853004/330001
6 years, 9 months ago (2014-03-05 10:13:32 UTC) #38
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 10:15:23 UTC) #39
Message was sent while issue was closed.
Change committed as 168460

Powered by Google App Engine
This is Rietveld 408576698