Descriptiongesture-nav: Add mechanism to fix taking screenshot after cross-process navigation.
The screenshot capture code needs a SiteInstance (and its corresponding
RenderProcessHost) to stay alive for long enough for the capture to succeed. So
increment the active-view count on the SiteInstanceImpl and the pending view count
on its RenderProcessHost when taking the screenshot, and reduce the counts after
the taking the screenshot is complete.
BUG=340682
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 5
Patch Set 4 : . #Patch Set 5 : . #
Total comments: 15
Patch Set 6 : . #Patch Set 7 : . #
Total comments: 1
Messages
Total messages: 11 (0 generated)
|