DescriptionSnapshot a pointer to the main frame when creating WebViewFrameWidget.
Otherwise, invoking WebViewFrameWidget::close() from frame swap will
result in trying to clear the frame widget on the wrong main frame.
Other miscellaneous fixes:
- WebViewFrameWidget now uses smart pointers where appropriate for its
members.
- WebViewFrameWidget's ctor also takes a WebWidgetClient* pointer.
This is future-proofing to help merge the widget implementations in
WebFrameWidget and WebView.
BUG=419087
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201048
Patch Set 1 #Patch Set 2 : Futureproof #
Messages
Total messages: 6 (2 generated)
|