|
Oilpan: Move core/clipboard/ to oilpan's heap
This CL moves Clipboard, DataObject, DataObjectItem, DataTransferItem, DataTransferItemList and DragState to oilpan's heap.
The tricky part is the way WebDragData keeps the DataObject alive. In the non-oilpan world, WebDragData keeps the DataObject alive by having WebDragDataPrivate call ref()/deref(). On the other hand, in the oilpan world, WebDragData keeps the DataObject alive by having WebDragDataPrivate retain a persistent handle to the DataObject.
Since this difference leads to a substantial amount of code difference, I used the oilpan flag and split the code between the oilpan world and the non-oilpan world. See WebDragData.cpp for more details.
BUG= 340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167676
Total comments: 7
Total comments: 2
Total comments: 8
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+227 lines, -177 lines) |
Patch |
 |
M |
Source/core/clipboard/Clipboard.h
|
View
|
|
5 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/Clipboard.cpp
|
View
|
|
5 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/Clipboard.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataObject.h
|
View
|
1
2
3
4
5
|
3 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
9 chunks |
+24 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataObjectItem.h
|
View
|
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataObjectItem.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItem.h
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItem.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItem.idl
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItemList.h
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItemList.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/DataTransferItemList.idl
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/Pasteboard.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/clipboard/Pasteboard.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/Editor.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/ClipboardEvent.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/ClipboardEvent.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/events/Event.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/MouseEvent.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/MouseEvent.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/DragController.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/DragController.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/DragState.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/EventHandler.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/EventHandler.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/DragClientImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebDragData.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+27 lines, -42 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebPluginContainerImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
public/platform/WebDragData.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
3 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
Total messages: 67 (0 generated)
|