• weinig@apple.com's avatar
    Chrome, DragController and FocusController should hold onto a Page& · fede3e50
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121325
    
    Reviewed by Anders Carlsson.
    
    * editing/FrameSelection.cpp:
    * editing/FrameSelection.h:
    * page/Chrome.cpp:
    (WebCore::Chrome::Chrome):
    (WebCore::Chrome::scroll):
    (WebCore::Chrome::createWindow):
    (WebCore::canRunModalIfDuringPageDismissal):
    (WebCore::Chrome::runBeforeUnloadConfirmPanel):
    (WebCore::Chrome::runJavaScriptAlert):
    (WebCore::Chrome::runJavaScriptConfirm):
    (WebCore::Chrome::runJavaScriptPrompt):
    (WebCore::Chrome::mouseDidMoveOverElement):
    (WebCore::Chrome::setToolTip):
    (WebCore::Chrome::windowScreenDidChange):
    * page/Chrome.h:
    * page/DragController.cpp:
    * page/DragController.h:
    * page/mac/DragControllerMac.mm:
    * page/FocusController.cpp:
    * page/FocusController.h:
    * page/Page.cpp:
    (WebCore::Page::Page):
    * page/PageGroupLoadDeferrer.cpp:
    * page/PageGroupLoadDeferrer.h:
    Take references where possible.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fede3e50