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

Issue 1003323004: Turn ViewportAnchors into stack allocated objects. (Closed)

Created:
5 years, 9 months ago by sof
Modified:
5 years, 9 months ago
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Turn ViewportAnchors into stack allocated objects. The viewport anchors have stack lifetimes, so rephrase their implementation and use slightly so as to be able to allocate them on the stack. The main benefit of doing so is that the references they contain to Oilpan heap objects will then be correctly traced should an Oilpan conservative GC be needed while resizing the view. R=bokan,haraken BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192586

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -124 lines) Patch
M Source/web/ResizeViewportAnchor.h View 2 chunks +3 lines, -5 lines 0 comments Download
M Source/web/ResizeViewportAnchor.cpp View 1 chunk +8 lines, -11 lines 0 comments Download
M Source/web/RotationViewportAnchor.h View 4 chunks +9 lines, -14 lines 0 comments Download
M Source/web/RotationViewportAnchor.cpp View 5 chunks +21 lines, -14 lines 0 comments Download
M Source/web/ViewportAnchor.h View 1 chunk +16 lines, -14 lines 0 comments Download
D Source/web/ViewportAnchor.cpp View 1 chunk +0 lines, -43 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 2 chunks +23 lines, -22 lines 0 comments Download
M Source/web/web.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
sof
Please take a look. Following up on https://codereview.chromium.org/1002423003/#msg6 bokan@: this CL may look a bit ...
5 years, 9 months ago (2015-03-25 18:57:24 UTC) #2
bokan
On 2015/03/25 18:57:24, sof wrote: > Please take a look. > > Following up on ...
5 years, 9 months ago (2015-03-25 19:30:33 UTC) #3
sof
On 2015/03/25 19:30:33, bokan wrote: > On 2015/03/25 18:57:24, sof wrote: > > Please take ...
5 years, 9 months ago (2015-03-25 19:52:03 UTC) #4
haraken
LGTM, nice change.
5 years, 9 months ago (2015-03-26 01:53:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1003323004/1
5 years, 9 months ago (2015-03-26 06:59:44 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 07:03:14 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192586

Powered by Google App Engine
This is Rietveld 408576698