|
Remove ActiveDOMObject::willStop, and introduce WorkerGlobalScope::TerminationObserver.
ActiveDOMObject::willStop is called in the main thread, and it's very confusing
because other functions are called in ActiveDOMObject's context thread.
Only synchronous Web SQL Database needs willStop. This CL inroduces a dedicated
interface to notify termination request to a Worker, and DatabaseContext
implements it.
BUG= 352621
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172357
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+42 lines, -26 lines) |
Patch |
 |
M |
Source/core/dom/ActiveDOMObject.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ActiveDOMObject.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ContextLifecycleNotifier.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/dom/ContextLifecycleNotifier.cpp
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/workers/WorkerGlobalScope.h
|
View
|
1
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/workers/WorkerGlobalScope.cpp
|
View
|
1
|
2 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/workers/WorkerThread.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/webdatabase/DatabaseContext.h
|
View
|
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webdatabase/DatabaseContext.cpp
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|