|
Make ThreadableLoader class to use references
ExecutionContext of ThreadableLoader class can not be null.
Move to use references to make caller code safer and remove
extra null checks. Keeping the existing interfaces as is to
create a new CL for changing remaining clients of ThreadableLoader.
Makes this patch smaller and reviewable.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170906
Total comments: 8
Total comments: 11
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+74 lines, -64 lines) |
Patch |
|
M |
Source/core/fileapi/FileReaderLoader.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/fileapi/FileReaderLoader.cpp
|
View
|
1
2
3
|
4 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/InspectorResourceAgent.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/loader/DocumentThreadableLoader.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/DocumentThreadableLoader.cpp
|
View
|
|
7 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/ThreadableLoader.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/ThreadableLoader.cpp
|
View
|
|
1 chunk |
+6 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerThreadableLoader.h
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/loader/WorkerThreadableLoader.cpp
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/page/EventSource.cpp
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/Worker.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerGlobalScope.cpp
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerScriptLoader.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/workers/WorkerScriptLoader.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/xml/XMLHttpRequest.cpp
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/web/AssociatedURLLoader.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebEmbeddedWorkerImpl.cpp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/web/WebSharedWorkerImpl.cpp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|