|
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
|
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
|
Total messages: 8 (2 generated)
|