|
|
Replace source pointer in cc::CopyOutputRequest with a base::UnguessableToken
Soon we will be sending cc::CopyOutputRequests over IPC, but a copy
request can contain a source pointer which basically indicates who is
the creator of the request (no dereferencing occurs), and sending this
raw pointer over IPC is not a good idea. This CL replaces the raw
pointer with a base::UnguessableToken which acts a source ID.
BUG= 672071
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Review-Url: https://codereview.chromium.org/2652343003
Cr-Commit-Position: refs/heads/master@{#447174}
Committed: https://chromium.googlesource.com/chromium/src/+/5846cb2c8ad77620776878f93a2b25be3b26449f
Total comments: 14
Total comments: 4
Total comments: 2
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+113 lines, -153 lines) |
Patch |
 |
M |
cc/layers/layer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/output/copy_output_request.h
|
View
|
1
2
3
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/output/copy_output_request.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/surfaces/surface_factory_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/media/capture/web_contents_video_capture_device.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+38 lines, -30 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/delegated_frame_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_base.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_browsertest.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
content/browser/renderer_host/render_widget_host_view_frame_subscriber.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/render_widget_host_view_frame_subscriber.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -75 lines |
0 comments
|
Download
|
Total messages: 61 (44 generated)
|