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

Issue 2161313002: ResizeObserver implementation, part 2: lifetime (Closed)

Created:
4 years, 5 months ago by atotic1
Modified:
4 years, 5 months ago
Reviewers:
esprehn, eae
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ResizeObserver implementation, part 2: lifetime The plot thickens: This checkin introduces all the classes, and the links between them. The links are important for object lifetime management. Lifetime architecture is described at https://docs.google.com/document/d/1G4OmqqlFY3H3erQAUmteKES02-bIECikDjWBrDKH9PA/edit?usp=sharing BUG=612962 ResizeObserver: conecting Objects Committed: https://crrev.com/6c23d97a65d8568329a386bd1da1df27d8d0a893 Cr-Commit-Position: refs/heads/master@{#407088}

Patch Set 1 #

Total comments: 18

Patch Set 2 : CR fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -13 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 3 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.h View 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ElementRareData.h View 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ElementRareData.cpp View 4 chunks +11 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/observer/ResizeObservation.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/observer/ResizeObservation.cpp View 1 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/observer/ResizeObserver.h View 3 chunks +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/observer/ResizeObserver.cpp View 1 3 chunks +8 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/observer/ResizeObserverController.h View 1 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/observer/ResizeObserverController.cpp View 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/observer/ResizeObserverEntry.h View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/observer/ResizeObserverEntry.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
atotic1
ResizeObserver implementation, part 2: object lifetime This patch concerns object lifetime. It introduces all the ...
4 years, 5 months ago (2016-07-19 22:10:33 UTC) #3
eae
OK, LGTM
4 years, 5 months ago (2016-07-20 20:26:27 UTC) #4
esprehn
https://codereview.chromium.org/2161313002/diff/1/third_party/WebKit/Source/core/observer/ResizeObservation.cpp File third_party/WebKit/Source/core/observer/ResizeObservation.cpp (right): https://codereview.chromium.org/2161313002/diff/1/third_party/WebKit/Source/core/observer/ResizeObservation.cpp#newcode17 third_party/WebKit/Source/core/observer/ResizeObservation.cpp:17: m_target->ensureResizeObserverData().set(observer, this); Can the caller do this instead? See ...
4 years, 5 months ago (2016-07-21 17:52:29 UTC) #5
atotic1
CR fixes are in. Please review, I've got 5 more in line. https://codereview.chromium.org/2161313002/diff/1/third_party/WebKit/Source/core/observer/ResizeObservation.cpp File third_party/WebKit/Source/core/observer/ResizeObservation.cpp ...
4 years, 5 months ago (2016-07-21 19:15:00 UTC) #6
esprehn
I prefer not aliasing types unless you're using it multiple times, then it cuts down ...
4 years, 5 months ago (2016-07-22 05:52:24 UTC) #11
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/2161313002/20001
4 years, 5 months ago (2016-07-22 06:18:56 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-22 06:50:49 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 06:52:11 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6c23d97a65d8568329a386bd1da1df27d8d0a893
Cr-Commit-Position: refs/heads/master@{#407088}

Powered by Google App Engine
This is Rietveld 408576698