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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)

Created:
3 years, 11 months ago by haraken
Modified:
3 years, 11 months ago
Reviewers:
sof, yhirano
CC:
chromium-reviews, shans, tzik, mlamouri+watch-screen-orientation_chromium.org, dshwang, eae+blinkwatch, fs, eric.carlson_apple.com, mcasas+watch+mediarecorder_chromium.org, scheib+watch_chromium.org, apavlov+blink_chromium.org, jkarlin+watch_chromium.org, kinuko+worker_chromium.org, Srirama, kinuko+watch, rwlbuis, jsbell+serviceworker_chromium.org, Yoav Weiss, jsbell+idb_chromium.org, awdf+watch_chromium.org, toyoshim+midi_chromium.org, mvanouwerkerk+watch_chromium.org, yhirano+watch_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, Justin Novosad, hongchan, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, blink-reviews-bindings_chromium.org, gavinp+loader_chromium.org, wanming.lin, blink-reviews, falken+watch_chromium.org, loading-reviews_chromium.org, gogerald+paymentswatch_chromium.org, blink-worker-reviews_chromium.org, Eric Willigers, kenneth.christiansen, nessy, rjwright, Peter Beverloo, nhiroki, Raymond Toy, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, timvolodine, darktears, emircan+watch+mediarecorder_chromium.org, Nate Chapin, vcarbune.chromium, michaeln, shimazu+serviceworker_chromium.org, tyoshino+watch_chromium.org, gavinp+prerender_chromium.org, shalamov, rouslan+payments_chromium.org, ajuma+watch-canvas_chromium.org, blink-reviews-animation_chromium.org, serviceworker-reviews, gasubic, feature-vr-reviews_chromium.org, shimazu+worker_chromium.org, mlamouri+watch-blink_chromium.org, ortuno+watch_chromium.org, kinuko+serviceworker, mcasas+watch+mediastream_chromium.org, cmumford, horo+watch_chromium.org, Mikhail, kinuko+fileapi, sebsg+paymentswatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disambiguate LifecycleObserver::contextDestroyed Some objects inherit from multiple lifecycle observers (e.g., ContextLifecycleObserver and PageLifecycleObserver). Then the same method contextDestroyed() is called multiple times when ExecutionContext gets detached *and* when Page gets detached. This is really confusing. To disambiguate the situation, this CL introduces a Context* parameter to contextDestroyed(); e.g., contextDestroyed(ExecutionContext*), contextDestroyed(Page*), contextDestroyed(WorkerThreadLifecycleContext*) etc. (In this CL, the Context* parameter is used only to disambiguate contextDestroyed(), but the parameter will be acutally used in a follow-up CL, where I'm planning to clear out LifecycleObserver::m_lifecycleContext before calling contextDestroyed().) BUG=610176 Review-Url: https://codereview.chromium.org/2629593004 Cr-Commit-Position: refs/heads/master@{#443607} Committed: https://chromium.googlesource.com/chromium/src/+/a6201a8f53c7b297c93a8ea381263c5d52b2b687

Patch Set 1 #

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -235 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/FontFaceSet.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/FontFaceSet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryList.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/MediaQueryListTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/MessagePort.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/SuspendableObject.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/SuspendableObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/SuspendableObjectTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fileapi/FileReader.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/SuspendableTimer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/SuspendableTimer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/AutoplayUmaHelper.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/AutoplayUmaHelper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/PublicURLManager.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/PublicURLManager.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/PrerenderHandle.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/PrerenderHandle.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/WorkerThreadableLoader.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/Stream.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/Stream.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/UnderlyingSourceBase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/UnderlyingSourceBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.cpp View 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerBase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/Worklet.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/Worklet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryManager.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryManager.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/crypto/CryptoResultImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/eventsource/EventSource.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/eventsource/EventSource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchManager.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchManager.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/FileWriter.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/filesystem/FileWriter.cpp View 2 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.h View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/geolocation/Geolocation.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/geolocation/Geolocation.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/installedapp/InstalledAppController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/installedapp/InstalledAppController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/MediaSource.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevices.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/UserMediaRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/netinfo/NetworkInformation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/nfc/NFC.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/nfc/NFC.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp View 2 chunks +12 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCSessionDescriptionRequestImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCSessionDescriptionRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCStatsRequestImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCStatsRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCVoidRequestImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/peerconnection/RTCVoidRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionStatus.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/permissions/PermissionStatus.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationAvailability.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationAvailability.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/presentation/PresentationController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.h View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/sensor/Sensor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/speech/SpeechRecognition.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.h View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BaseAudioContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WindowAudioWorklet.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webdatabase/DatabaseContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccessInitializer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIAccessInitializer.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIPort.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocket.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/websockets/WorkerWebSocketChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/LifecycleContextTest.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/LifecycleNotifier.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/LifecycleObserver.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/SuspendableScriptExecutor.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebAssociatedURLLoaderImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
haraken
PTAL
3 years, 11 months ago (2017-01-13 12:26:38 UTC) #2
yhirano
lgtm
3 years, 11 months ago (2017-01-13 13:20:27 UTC) #3
sof
lgtm It begs the question though if "context destruction" could only be supported by ExecutionContext ...
3 years, 11 months ago (2017-01-13 14:14:54 UTC) #4
haraken
On 2017/01/13 14:14:54, sof wrote: > lgtm > > It begs the question though if ...
3 years, 11 months ago (2017-01-13 14:45:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629593004/1
3 years, 11 months ago (2017-01-13 14:46:14 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/20825) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-13 14:49:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629593004/20001
3 years, 11 months ago (2017-01-13 15:45:03 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/a6201a8f53c7b297c93a8ea381263c5d52b2b687
3 years, 11 months ago (2017-01-13 18:06:59 UTC) #15
sof
On 2017/01/13 14:45:46, haraken wrote: > On 2017/01/13 14:14:54, sof wrote: > > lgtm > ...
3 years, 11 months ago (2017-01-15 12:52:45 UTC) #16
haraken
On 2017/01/15 12:52:45, sof wrote: > On 2017/01/13 14:45:46, haraken wrote: > > On 2017/01/13 ...
3 years, 11 months ago (2017-01-15 13:03:42 UTC) #17
sof
3 years, 11 months ago (2017-01-15 15:28:19 UTC) #18
Message was sent while issue was closed.
On 2017/01/15 13:03:42, haraken wrote:
> On 2017/01/15 12:52:45, sof wrote:
> > On 2017/01/13 14:45:46, haraken wrote:
> > > On 2017/01/13 14:14:54, sof wrote:
> > > > lgtm
> > > > 
> > > > It begs the question though if "context destruction" could only be
> supported
> > > by
> > > > ExecutionContext (and the new SynchronousMutation notifier), but perhaps
> > > that's
> > > > over-fitting the design for current use.
> > > 
> > > contextDestroyed is also supported by WorkerThreadLifecycleContext as
well.
> > 
> > Yes, missed those.
> > 
> > It is unfortunate to now have to define all these empty
> contextDestroyed(Page*)
> > overrides. At the cost of doing a bit more work at compile time,
> > https://codereview.chromium.org/2634713002/ avoids that (and effectively
> > implements what the question above tried to get at.)
> 
> ah, that looks tidier!

It might not be obvious why the outright removal of the empty
"contextDestroyed(Page*)" overrides wouldn't be the simplest thing to do, but
doing so runs into (e.g.) clang's hidden overloaded virtual warning for classes
that are both ExecutionContext and PageVisibility observers. i.e., having just a
single override

  virtual void contextDestroyed(ExecutionContext*) override;

for such observers makes the compiler warn that you're hiding the overloaded
|contextDestroyed()| virtual over Page*.

Powered by Google App Engine
This is Rietveld 408576698