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

Issue 564013002: Revert 181758 "Simplify DOMWindowProperty and its unregistration." (Closed)

Created:
6 years, 3 months ago by haraken
Modified:
6 years, 3 months ago
Reviewers:
sof
CC:
blink-reviews
Visibility:
Public.

Description

Revert 181758 "Simplify DOMWindowProperty and its unregistration." This CL caused use-after-free in :LocalDOMWindow::willDetachDocumentFromFrame. https://code.google.com/p/chromium/issues/detail?id=413316 > Simplify DOMWindowProperty and its unregistration. > > As LocalDOMWindow controls the registration lifetime of its > DOMWindowProperties, there's no need to offer a separate unregistration > mechanism. Remove it, simplify notification code + retire now unused > LocalDOMWindow back reference on DOMWindowProperty. > > R=haraken,ager > BUG= > > Review URL: https://codereview.chromium.org/558213002 TBR=sigbjornf@opera.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181867

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -13 lines) Patch
M trunk/Source/core/frame/DOMWindowProperty.h View 2 chunks +7 lines, -2 lines 0 comments Download
M trunk/Source/core/frame/DOMWindowProperty.cpp View 2 chunks +28 lines, -7 lines 0 comments Download
M trunk/Source/core/frame/LocalDOMWindow.h View 1 chunk +1 line, -0 lines 0 comments Download
M trunk/Source/core/frame/LocalDOMWindow.cpp View 2 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
haraken
6 years, 3 months ago (2014-09-12 01:33:47 UTC) #1
haraken
Committed patchset #1 (id:1) manually as r181867.
6 years, 3 months ago (2014-09-12 01:33:56 UTC) #2
sof
6 years, 3 months ago (2014-09-12 05:19:14 UTC) #3
Message was sent while issue was closed.
lgtm, thanks.

Powered by Google App Engine
This is Rietveld 408576698