Changeset 159889 in webkit


Ignore:
Timestamp:
Nov 30, 2013 11:14:13 AM (10 years ago)
Author:
weinig@apple.com
Message:

[CTTE] WebPageProxy should store the PageClient as a reference
https://bugs.webkit.org/show_bug.cgi?id=125030

Reviewed by Dan Bernstein.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp:

(webkitWebViewBaseCreateWebPage):

  • UIProcess/API/ios/WKContentView.mm:

(-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):

  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):

  • UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp:

(WebKit::WebPageProxy::didFindZoomableArea):

  • UIProcess/CoordinatedGraphics/WebView.cpp:

(WebKit::WebView::WebView):

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::createWebPage):

  • UIProcess/WebContext.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::create):
(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::reattachToWebProcess):
(WebKit::WebPageProxy::initializeWebPage):
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::setViewNeedsDisplay):
(WebKit::WebPageProxy::displayView):
(WebKit::WebPageProxy::canScrollView):
(WebKit::WebPageProxy::scrollView):
(WebKit::WebPageProxy::updateViewState):
(WebKit::WebPageProxy::viewStateDidChange):
(WebKit::WebPageProxy::viewSize):
(WebKit::WebPageProxy::startDrag):
(WebKit::WebPageProxy::handleTouchEvent):
(WebKit::WebPageProxy::preferencesDidChange):
(WebKit::WebPageProxy::didCommitLoadForFrame):
(WebKit::WebPageProxy::closePage):
(WebKit::WebPageProxy::setWindowFrame):
(WebKit::WebPageProxy::getWindowFrame):
(WebKit::WebPageProxy::screenToWindow):
(WebKit::WebPageProxy::windowToScreen):
(WebKit::WebPageProxy::pageDidRequestScroll):
(WebKit::WebPageProxy::pageTransitionViewportReady):
(WebKit::WebPageProxy::didRenderFrame):
(WebKit::WebPageProxy::didChangeViewportProperties):
(WebKit::WebPageProxy::handleDownloadRequest):
(WebKit::WebPageProxy::didChangeContentSize):
(WebKit::WebPageProxy::showColorPicker):
(WebKit::WebPageProxy::editorStateChanged):
(WebKit::WebPageProxy::canUndoRedo):
(WebKit::WebPageProxy::executeUndoRedo):
(WebKit::WebPageProxy::clearAllEditCommands):
(WebKit::WebPageProxy::setFindIndicator):
(WebKit::WebPageProxy::showPopupMenu):
(WebKit::WebPageProxy::internalShowContextMenu):
(WebKit::WebPageProxy::registerEditCommand):
(WebKit::WebPageProxy::setToolTip):
(WebKit::WebPageProxy::setCursor):
(WebKit::WebPageProxy::setCursorHiddenUntilMouseMoves):
(WebKit::WebPageProxy::didReceiveEvent):
(WebKit::WebPageProxy::processDidCrash):
(WebKit::WebPageProxy::resetStateAfterProcessExited):
(WebKit::WebPageProxy::initializeCreationParameters):
(WebKit::WebPageProxy::enterAcceleratedCompositingMode):
(WebKit::WebPageProxy::exitAcceleratedCompositingMode):
(WebKit::WebPageProxy::updateAcceleratedCompositingMode):
(WebKit::WebPageProxy::requestGeolocationPermissionForFrame):
(WebKit::WebPageProxy::recommendedScrollbarStyleDidChange):
(WebKit::WebPageProxy::updateBackingStoreDiscardableState):
(WebKit::WebPageProxy::showCorrectionPanel):
(WebKit::WebPageProxy::dismissCorrectionPanel):
(WebKit::WebPageProxy::dismissCorrectionPanelSoon):
(WebKit::WebPageProxy::recordAutocorrectionResponse):
(WebKit::WebPageProxy::showDictationAlternativeUI):
(WebKit::WebPageProxy::removeDictationAlternatives):
(WebKit::WebPageProxy::dictationAlternatives):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::createWebPage):

  • UIProcess/WebProcessProxy.h:
  • UIProcess/gtk/WebPageProxyGtk.cpp:

(WebKit::WebPageProxy::getEditorCommandsForKeyEvent):

  • UIProcess/ios/WebPageProxyIOS.mm:

(WebKit::WebPageProxy::interpretKeyEvent):
(WebKit::WebPageProxy::mainDocumentDidReceiveMobileDocType):
(WebKit::WebPageProxy::didGetTapHighlightGeometries):
(WebKit::WebPageProxy::didChangeViewportArguments):
(WebKit::WebPageProxy::startAssistingNode):
(WebKit::WebPageProxy::stopAssistingNode):
(WebKit::WebPageProxy::setAcceleratedCompositingRootLayer):

  • UIProcess/mac/WebPageProxyMac.mm:

(WebKit::WebPageProxy::windowAndViewFramesChanged):
(WebKit::WebPageProxy::insertDictatedText):
(WebKit::WebPageProxy::setDragImage):
(WebKit::WebPageProxy::setPromisedData):
(WebKit::WebPageProxy::interpretQueuedKeyEvent):
(WebKit::WebPageProxy::didPerformDictionaryLookup):
(WebKit::WebPageProxy::registerWebProcessAccessibilityToken):
(WebKit::WebPageProxy::makeFirstResponder):
(WebKit::WebPageProxy::colorSpace):
(WebKit::WebPageProxy::pluginFocusOrWindowFocusChanged):
(WebKit::WebPageProxy::setPluginComplexTextInputState):
(WebKit::WebPageProxy::executeSavedCommandBySelector):
(WebKit::WebPageProxy::wkView):
(WebKit::WebPageProxy::intrinsicContentSizeDidChange):
(WebKit::WebPageProxy::setAcceleratedCompositingRootLayer):

Location:
trunk/Source/WebKit2
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r159888 r159889  
     12013-11-30  Sam Weinig  <sam@webkit.org>
     2
     3        [CTTE] WebPageProxy should store the PageClient as a reference
     4        https://bugs.webkit.org/show_bug.cgi?id=125030
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
     9        (webkitWebViewBaseCreateWebPage):
     10        * UIProcess/API/ios/WKContentView.mm:
     11        (-[WKContentView _commonInitializationWithContextRef:pageGroupRef:relatedToPage:]):
     12        * UIProcess/API/mac/WKView.mm:
     13        (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
     14        * UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp:
     15        (WebKit::WebPageProxy::didFindZoomableArea):
     16        * UIProcess/CoordinatedGraphics/WebView.cpp:
     17        (WebKit::WebView::WebView):
     18        * UIProcess/WebContext.cpp:
     19        (WebKit::WebContext::createWebPage):
     20        * UIProcess/WebContext.h:
     21        * UIProcess/WebPageProxy.cpp:
     22        (WebKit::WebPageProxy::create):
     23        (WebKit::WebPageProxy::WebPageProxy):
     24        (WebKit::WebPageProxy::reattachToWebProcess):
     25        (WebKit::WebPageProxy::initializeWebPage):
     26        (WebKit::WebPageProxy::close):
     27        (WebKit::WebPageProxy::setViewNeedsDisplay):
     28        (WebKit::WebPageProxy::displayView):
     29        (WebKit::WebPageProxy::canScrollView):
     30        (WebKit::WebPageProxy::scrollView):
     31        (WebKit::WebPageProxy::updateViewState):
     32        (WebKit::WebPageProxy::viewStateDidChange):
     33        (WebKit::WebPageProxy::viewSize):
     34        (WebKit::WebPageProxy::startDrag):
     35        (WebKit::WebPageProxy::handleTouchEvent):
     36        (WebKit::WebPageProxy::preferencesDidChange):
     37        (WebKit::WebPageProxy::didCommitLoadForFrame):
     38        (WebKit::WebPageProxy::closePage):
     39        (WebKit::WebPageProxy::setWindowFrame):
     40        (WebKit::WebPageProxy::getWindowFrame):
     41        (WebKit::WebPageProxy::screenToWindow):
     42        (WebKit::WebPageProxy::windowToScreen):
     43        (WebKit::WebPageProxy::pageDidRequestScroll):
     44        (WebKit::WebPageProxy::pageTransitionViewportReady):
     45        (WebKit::WebPageProxy::didRenderFrame):
     46        (WebKit::WebPageProxy::didChangeViewportProperties):
     47        (WebKit::WebPageProxy::handleDownloadRequest):
     48        (WebKit::WebPageProxy::didChangeContentSize):
     49        (WebKit::WebPageProxy::showColorPicker):
     50        (WebKit::WebPageProxy::editorStateChanged):
     51        (WebKit::WebPageProxy::canUndoRedo):
     52        (WebKit::WebPageProxy::executeUndoRedo):
     53        (WebKit::WebPageProxy::clearAllEditCommands):
     54        (WebKit::WebPageProxy::setFindIndicator):
     55        (WebKit::WebPageProxy::showPopupMenu):
     56        (WebKit::WebPageProxy::internalShowContextMenu):
     57        (WebKit::WebPageProxy::registerEditCommand):
     58        (WebKit::WebPageProxy::setToolTip):
     59        (WebKit::WebPageProxy::setCursor):
     60        (WebKit::WebPageProxy::setCursorHiddenUntilMouseMoves):
     61        (WebKit::WebPageProxy::didReceiveEvent):
     62        (WebKit::WebPageProxy::processDidCrash):
     63        (WebKit::WebPageProxy::resetStateAfterProcessExited):
     64        (WebKit::WebPageProxy::initializeCreationParameters):
     65        (WebKit::WebPageProxy::enterAcceleratedCompositingMode):
     66        (WebKit::WebPageProxy::exitAcceleratedCompositingMode):
     67        (WebKit::WebPageProxy::updateAcceleratedCompositingMode):
     68        (WebKit::WebPageProxy::requestGeolocationPermissionForFrame):
     69        (WebKit::WebPageProxy::recommendedScrollbarStyleDidChange):
     70        (WebKit::WebPageProxy::updateBackingStoreDiscardableState):
     71        (WebKit::WebPageProxy::showCorrectionPanel):
     72        (WebKit::WebPageProxy::dismissCorrectionPanel):
     73        (WebKit::WebPageProxy::dismissCorrectionPanelSoon):
     74        (WebKit::WebPageProxy::recordAutocorrectionResponse):
     75        (WebKit::WebPageProxy::showDictationAlternativeUI):
     76        (WebKit::WebPageProxy::removeDictationAlternatives):
     77        (WebKit::WebPageProxy::dictationAlternatives):
     78        * UIProcess/WebPageProxy.h:
     79        * UIProcess/WebProcessProxy.cpp:
     80        (WebKit::WebProcessProxy::createWebPage):
     81        * UIProcess/WebProcessProxy.h:
     82        * UIProcess/gtk/WebPageProxyGtk.cpp:
     83        (WebKit::WebPageProxy::getEditorCommandsForKeyEvent):
     84        * UIProcess/ios/WebPageProxyIOS.mm:
     85        (WebKit::WebPageProxy::interpretKeyEvent):
     86        (WebKit::WebPageProxy::mainDocumentDidReceiveMobileDocType):
     87        (WebKit::WebPageProxy::didGetTapHighlightGeometries):
     88        (WebKit::WebPageProxy::didChangeViewportArguments):
     89        (WebKit::WebPageProxy::startAssistingNode):
     90        (WebKit::WebPageProxy::stopAssistingNode):
     91        (WebKit::WebPageProxy::setAcceleratedCompositingRootLayer):
     92        * UIProcess/mac/WebPageProxyMac.mm:
     93        (WebKit::WebPageProxy::windowAndViewFramesChanged):
     94        (WebKit::WebPageProxy::insertDictatedText):
     95        (WebKit::WebPageProxy::setDragImage):
     96        (WebKit::WebPageProxy::setPromisedData):
     97        (WebKit::WebPageProxy::interpretQueuedKeyEvent):
     98        (WebKit::WebPageProxy::didPerformDictionaryLookup):
     99        (WebKit::WebPageProxy::registerWebProcessAccessibilityToken):
     100        (WebKit::WebPageProxy::makeFirstResponder):
     101        (WebKit::WebPageProxy::colorSpace):
     102        (WebKit::WebPageProxy::pluginFocusOrWindowFocusChanged):
     103        (WebKit::WebPageProxy::setPluginComplexTextInputState):
     104        (WebKit::WebPageProxy::executeSavedCommandBySelector):
     105        (WebKit::WebPageProxy::wkView):
     106        (WebKit::WebPageProxy::intrinsicContentSizeDidChange):
     107        (WebKit::WebPageProxy::setAcceleratedCompositingRootLayer):
     108
    11092013-11-30  Sam Weinig  <sam@webkit.org>
    2110
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp

    r158033 r159889  
    932932    WebKitWebViewBasePrivate* priv = webkitWebViewBase->priv;
    933933
    934     priv->pageProxy = context->createWebPage(priv->pageClient.get(), pageGroup);
     934    priv->pageProxy = context->createWebPage(*priv->pageClient, pageGroup);
    935935    priv->pageProxy->initializeWebPage();
    936936
  • trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm

    r159877 r159889  
    148148
    149149    _pageClient = std::make_unique<PageClientImpl>(self);
    150     _page = toImpl(contextRef)->createWebPage(_pageClient.get(), toImpl(pageGroupRef), toImpl(relatedPage));
     150    _page = toImpl(contextRef)->createWebPage(*_pageClient, toImpl(pageGroupRef), toImpl(relatedPage));
    151151    _page->initializeWebPage();
    152152    _page->setIntrinsicDeviceScaleFactor([UIScreen mainScreen].scale);
  • trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r159877 r159889  
    29092909
    29102910    _data->_pageClient = std::make_unique<PageClientImpl>(self);
    2911     _data->_page = toImpl(contextRef)->createWebPage(_data->_pageClient.get(), toImpl(pageGroupRef), toImpl(relatedPage));
     2911    _data->_page = toImpl(contextRef)->createWebPage(*_data->_pageClient, toImpl(pageGroupRef), toImpl(relatedPage));
    29122912    _data->_page->setIntrinsicDeviceScaleFactor([self _intrinsicDeviceScaleFactor]);
    29132913    _data->_page->initializeWebPage();
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp

    r152878 r159889  
    4848void WebPageProxy::didFindZoomableArea(const IntPoint& target, const IntRect& area)
    4949{
    50     m_pageClient->didFindZoomableArea(target, area);
     50    m_pageClient.didFindZoomableArea(target, area);
    5151}
    5252
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp

    r159864 r159889  
    5353{
    5454    // Need to call createWebPage after other data members, specifically m_visible, are initialized.
    55     m_page = context->createWebPage(this, pageGroup);
     55    m_page = context->createWebPage(*this, pageGroup);
    5656
    5757    m_page->pageGroup()->preferences()->setAcceleratedCompositingEnabled(true);
  • trunk/Source/WebKit2/UIProcess/WebContext.cpp

    r159829 r159889  
    741741}
    742742
    743 PassRefPtr<WebPageProxy> WebContext::createWebPage(PageClient* pageClient, WebPageGroup* pageGroup, WebPageProxy* relatedPage)
     743PassRefPtr<WebPageProxy> WebContext::createWebPage(PageClient& pageClient, WebPageGroup* pageGroup, WebPageProxy* relatedPage)
    744744{
    745745    RefPtr<WebProcessProxy> process;
  • trunk/Source/WebKit2/UIProcess/WebContext.h

    r159829 r159889  
    159159    StorageManager& storageManager() const { return *m_storageManager; }
    160160
    161     PassRefPtr<WebPageProxy> createWebPage(PageClient*, WebPageGroup*, WebPageProxy* relatedPage = 0);
     161    PassRefPtr<WebPageProxy> createWebPage(PageClient&, WebPageGroup*, WebPageProxy* relatedPage = 0);
    162162
    163163    const String& injectedBundlePath() const { return m_injectedBundlePath; }
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r159888 r159889  
    223223#endif // !LOG_DISABLED
    224224
    225 PassRefPtr<WebPageProxy> WebPageProxy::create(PageClient* pageClient, PassRefPtr<WebProcessProxy> process, WebPageGroup* pageGroup, uint64_t pageID)
     225PassRefPtr<WebPageProxy> WebPageProxy::create(PageClient& pageClient, PassRefPtr<WebProcessProxy> process, WebPageGroup* pageGroup, uint64_t pageID)
    226226{
    227227    return adoptRef(new WebPageProxy(pageClient, process, pageGroup, pageID));
    228228}
    229229
    230 WebPageProxy::WebPageProxy(PageClient* pageClient, PassRefPtr<WebProcessProxy> process, WebPageGroup* pageGroup, uint64_t pageID)
     230WebPageProxy::WebPageProxy(PageClient& pageClient, PassRefPtr<WebProcessProxy> process, WebPageGroup* pageGroup, uint64_t pageID)
    231231    : m_pageClient(pageClient)
    232232    , m_process(process)
     
    491491    initializeWebPage();
    492492
    493     m_pageClient->didRelaunchProcess();
     493    m_pageClient.didRelaunchProcess();
    494494    m_drawingArea->waitForBackingStoreUpdateOnNextPaint();
    495495}
     
    517517        m_process->registerNewWebBackForwardListItem(items[i].get());
    518518
    519     m_drawingArea = m_pageClient->createDrawingAreaProxy();
     519    m_drawingArea = m_pageClient.createDrawingAreaProxy();
    520520    ASSERT(m_drawingArea);
    521521
     
    547547
    548548    m_backForwardList->pageClosed();
    549     m_pageClient->pageClosed();
     549    m_pageClient.pageClosed();
    550550
    551551    m_process->disconnectFramesFromPage(this);
     
    911911void WebPageProxy::setViewNeedsDisplay(const IntRect& rect)
    912912{
    913     m_pageClient->setViewNeedsDisplay(rect);
     913    m_pageClient.setViewNeedsDisplay(rect);
    914914}
    915915
    916916void WebPageProxy::displayView()
    917917{
    918     m_pageClient->displayView();
     918    m_pageClient.displayView();
    919919}
    920920
    921921bool WebPageProxy::canScrollView()
    922922{
    923     return m_pageClient->canScrollView();
     923    return m_pageClient.canScrollView();
    924924}
    925925
    926926void WebPageProxy::scrollView(const IntRect& scrollRect, const IntSize& scrollOffset)
    927927{
    928     m_pageClient->scrollView(scrollRect, scrollOffset);
     928    m_pageClient.scrollView(scrollRect, scrollOffset);
    929929}
    930930
     
    932932{
    933933    m_viewState &= ~flagsToUpdate;
    934     if (flagsToUpdate & ViewState::WindowIsVisible && m_pageClient->isWindowVisible())
     934    if (flagsToUpdate & ViewState::WindowIsVisible && m_pageClient.isWindowVisible())
    935935        m_viewState |= ViewState::WindowIsVisible;
    936     if (flagsToUpdate & ViewState::IsFocused && m_pageClient->isViewFocused())
     936    if (flagsToUpdate & ViewState::IsFocused && m_pageClient.isViewFocused())
    937937        m_viewState |= ViewState::IsFocused;
    938     if (flagsToUpdate & ViewState::WindowIsActive && m_pageClient->isViewWindowActive())
     938    if (flagsToUpdate & ViewState::WindowIsActive && m_pageClient.isViewWindowActive())
    939939        m_viewState |= ViewState::WindowIsActive;
    940     if (flagsToUpdate & ViewState::IsVisible && m_pageClient->isViewVisible())
     940    if (flagsToUpdate & ViewState::IsVisible && m_pageClient.isViewVisible())
    941941        m_viewState |= ViewState::IsVisible;
    942     if (flagsToUpdate & ViewState::IsInWindow && m_pageClient->isViewInWindow())
     942    if (flagsToUpdate & ViewState::IsInWindow && m_pageClient.isViewInWindow())
    943943        m_viewState |= ViewState::IsInWindow;
    944944}
     
    979979    if (mayHaveChanged & ViewState::IsInWindow) {
    980980        if (m_viewState & ViewState::IsInWindow) {
    981             LayerHostingMode layerHostingMode = m_pageClient->viewLayerHostingMode();
     981            LayerHostingMode layerHostingMode = m_pageClient.viewLayerHostingMode();
    982982            if (m_layerHostingMode != layerHostingMode) {
    983983                m_layerHostingMode = layerHostingMode;
     
    10161016IntSize WebPageProxy::viewSize() const
    10171017{
    1018     return m_pageClient->viewSize();
     1018    return m_pageClient.viewSize();
    10191019}
    10201020
     
    11321132    }
    11331133
    1134     m_pageClient->startDrag(dragData, dragImage.release());
     1134    m_pageClient.startDrag(dragData, dragImage.release());
    11351135}
    11361136#endif
     
    13771377        if (m_touchEventQueue.isEmpty()) {
    13781378            bool isEventHandled = false;
    1379             m_pageClient->doneWithTouchEvent(event, isEventHandled);
     1379            m_pageClient.doneWithTouchEvent(event, isEventHandled);
    13801380        } else {
    13811381            // We attach the incoming events to the newest queued event so that all
     
    20112011    m_process->pagePreferencesChanged(this);
    20122012
    2013     m_pageClient->preferencesDidChange();
     2013    m_pageClient.preferencesDidChange();
    20142014
    20152015    // FIXME: It probably makes more sense to send individual preference changes.
     
    21612161    if (frame->isMainFrame()) {
    21622162        m_pageLoadState.didCommitLoad();
    2163         m_pageClient->didCommitLoadForMainFrame();
     2163        m_pageClient.didCommitLoadForMainFrame();
    21642164    }
    21652165
     
    21672167    // FIXME (bug 59111): didCommitLoadForFrame comes too late when restoring a page from b/f cache, making us disable secure event mode in password fields.
    21682168    // FIXME: A load going on in one frame shouldn't affect text editing in other frames on the page.
    2169     m_pageClient->resetSecureInputState();
     2169    m_pageClient.resetSecureInputState();
    21702170    dismissCorrectionPanel(ReasonForDismissingAlternativeTextIgnored);
    2171     m_pageClient->dismissDictionaryLookupPanel();
     2171    m_pageClient.dismissDictionaryLookupPanel();
    21722172#endif
    21732173
     
    25302530        m_process->responsivenessTimer()->stop();
    25312531
    2532     m_pageClient->clearAllEditCommands();
     2532    m_pageClient.clearAllEditCommands();
    25332533    m_uiClient.close(this);
    25342534}
     
    26802680void WebPageProxy::setWindowFrame(const FloatRect& newWindowFrame)
    26812681{
    2682     m_uiClient.setWindowFrame(this, m_pageClient->convertToDeviceSpace(newWindowFrame));
     2682    m_uiClient.setWindowFrame(this, m_pageClient.convertToDeviceSpace(newWindowFrame));
    26832683}
    26842684
    26852685void WebPageProxy::getWindowFrame(FloatRect& newWindowFrame)
    26862686{
    2687     newWindowFrame = m_pageClient->convertToUserSpace(m_uiClient.windowFrame(this));
     2687    newWindowFrame = m_pageClient.convertToUserSpace(m_uiClient.windowFrame(this));
    26882688}
    26892689   
    26902690void WebPageProxy::screenToWindow(const IntPoint& screenPoint, IntPoint& windowPoint)
    26912691{
    2692     windowPoint = m_pageClient->screenToWindow(screenPoint);
     2692    windowPoint = m_pageClient.screenToWindow(screenPoint);
    26932693}
    26942694   
    26952695void WebPageProxy::windowToScreen(const IntRect& viewRect, IntRect& result)
    26962696{
    2697     result = m_pageClient->windowToScreen(viewRect);
     2697    result = m_pageClient.windowToScreen(viewRect);
    26982698}
    26992699   
     
    27122712void WebPageProxy::pageDidRequestScroll(const IntPoint& point)
    27132713{
    2714     m_pageClient->pageDidRequestScroll(point);
     2714    m_pageClient.pageDidRequestScroll(point);
    27152715}
    27162716
    27172717void WebPageProxy::pageTransitionViewportReady()
    27182718{
    2719     m_pageClient->pageTransitionViewportReady();
     2719    m_pageClient.pageTransitionViewportReady();
    27202720}
    27212721
    27222722void WebPageProxy::didRenderFrame(const WebCore::IntSize& contentsSize, const WebCore::IntRect& coveredRect)
    27232723{
    2724     m_pageClient->didRenderFrame(contentsSize, coveredRect);
     2724    m_pageClient.didRenderFrame(contentsSize, coveredRect);
    27252725}
    27262726
     
    27292729void WebPageProxy::didChangeViewportProperties(const ViewportAttributes& attr)
    27302730{
    2731     m_pageClient->didChangeViewportProperties(attr);
     2731    m_pageClient.didChangeViewportProperties(attr);
    27322732}
    27332733
     
    28082808void WebPageProxy::handleDownloadRequest(DownloadProxy* download)
    28092809{
    2810     m_pageClient->handleDownloadRequest(download);
     2810    m_pageClient.handleDownloadRequest(download);
    28112811}
    28122812#endif // PLATFORM(EFL) || PLATFORM(GTK)
     
    28152815void WebPageProxy::didChangeContentSize(const IntSize& size)
    28162816{
    2817     m_pageClient->didChangeContentSize(size);
     2817    m_pageClient.didChangeContentSize(size);
    28182818}
    28192819#endif
     
    28352835#endif
    28362836    if (!m_colorPicker)
    2837         m_colorPicker = m_pageClient->createColorPicker(this, initialColor, elementRect);
     2837        m_colorPicker = m_pageClient.createColorPicker(this, initialColor, elementRect);
    28382838    m_colorPicker->showColorPicker(initialColor);
    28392839}
     
    29482948    // Selection being none is a temporary state when editing. Flipping secure input state too quickly was causing trouble (not fully understood).
    29492949    if (couldChangeSecureInputState && !editorState.selectionIsNone)
    2950         m_pageClient->updateSecureInputState();
     2950        m_pageClient.updateSecureInputState();
    29512951
    29522952    if (editorState.shouldIgnoreCompositionSelectionChange)
     
    29542954
    29552955    if (closedComposition)
    2956         m_pageClient->notifyInputContextAboutDiscardedComposition();
     2956        m_pageClient.notifyInputContextAboutDiscardedComposition();
    29572957    if (editorState.hasComposition) {
    29582958        // Abandon the current inline input session if selection changed for any other reason but an input method changing the composition.
    29592959        // FIXME: This logic should be in WebCore, no need to round-trip to UI process to cancel the composition.
    29602960        cancelComposition();
    2961         m_pageClient->notifyInputContextAboutDiscardedComposition();
     2961        m_pageClient.notifyInputContextAboutDiscardedComposition();
    29622962    }
    29632963#if PLATFORM(IOS)
    29642964    else {
    29652965        // We need to notify the client on iOS to make sure the selection is redrawn.
    2966         m_pageClient->selectionDidChange();
     2966        m_pageClient.selectionDidChange();
    29672967    }
    29682968#endif
    29692969#elif PLATFORM(EFL) || PLATFORM(GTK)
    2970     m_pageClient->updateTextInputState();
     2970    m_pageClient.updateTextInputState();
    29712971#endif
    29722972}
     
    29812981void WebPageProxy::canUndoRedo(uint32_t action, bool& result)
    29822982{
    2983     result = m_pageClient->canUndoRedo(static_cast<UndoOrRedo>(action));
     2983    result = m_pageClient.canUndoRedo(static_cast<UndoOrRedo>(action));
    29842984}
    29852985
    29862986void WebPageProxy::executeUndoRedo(uint32_t action, bool& result)
    29872987{
    2988     m_pageClient->executeUndoRedo(static_cast<UndoOrRedo>(action));
     2988    m_pageClient.executeUndoRedo(static_cast<UndoOrRedo>(action));
    29892989    result = true;
    29902990}
     
    29922992void WebPageProxy::clearAllEditCommands()
    29932993{
    2994     m_pageClient->clearAllEditCommands();
     2994    m_pageClient.clearAllEditCommands();
    29952995}
    29962996
     
    30083008{
    30093009    RefPtr<FindIndicator> findIndicator = FindIndicator::create(selectionRectInWindowCoordinates, textRectsInSelectionRectCoordinates, contentImageScaleFactor, contentImageHandle);
    3010     m_pageClient->setFindIndicator(findIndicator.release(), fadeOut, animate);
     3010    m_pageClient.setFindIndicator(findIndicator.release(), fadeOut, animate);
    30113011}
    30123012
     
    30783078    }
    30793079
    3080     m_activePopupMenu = m_pageClient->createPopupMenuProxy(this);
     3080    m_activePopupMenu = m_pageClient.createPopupMenuProxy(this);
    30813081
    30823082    if (!m_activePopupMenu)
     
    31383138    }
    31393139
    3140     m_activeContextMenu = m_pageClient->createContextMenuProxy(this);
     3140    m_activeContextMenu = m_pageClient.createContextMenuProxy(this);
    31413141    if (!m_activeContextMenu)
    31423142        return;
     
    32813281void WebPageProxy::registerEditCommand(PassRefPtr<WebEditCommandProxy> commandProxy, UndoOrRedo undoOrRedo)
    32823282{
    3283     m_pageClient->registerEditCommand(commandProxy, undoOrRedo);
     3283    m_pageClient.registerEditCommand(commandProxy, undoOrRedo);
    32843284}
    32853285
     
    33993399    String oldToolTip = m_toolTip;
    34003400    m_toolTip = toolTip;
    3401     m_pageClient->toolTipChanged(oldToolTip, m_toolTip);
     3401    m_pageClient.toolTipChanged(oldToolTip, m_toolTip);
    34023402}
    34033403
     
    34063406    // The Web process may have asked to change the cursor when the view was in an active window, but
    34073407    // if it is no longer in a window or the window is not active, then the cursor should not change.
    3408     if (m_pageClient->isViewWindowActive())
    3409         m_pageClient->setCursor(cursor);
     3408    if (m_pageClient.isViewWindowActive())
     3409        m_pageClient.setCursor(cursor);
    34103410}
    34113411
    34123412void WebPageProxy::setCursorHiddenUntilMouseMoves(bool hiddenUntilMouseMoves)
    34133413{
    3414     m_pageClient->setCursorHiddenUntilMouseMoves(hiddenUntilMouseMoves);
     3414    m_pageClient.setCursorHiddenUntilMouseMoves(hiddenUntilMouseMoves);
    34153415}
    34163416
     
    34853485            m_process->send(Messages::WebPage::KeyEvent(m_keyEventQueue.first()), m_pageID);
    34863486
    3487         m_pageClient->doneWithKeyEvent(event, handled);
     3487        m_pageClient.doneWithKeyEvent(event, handled);
    34883488        if (handled)
    34893489            break;
     
    35023502        m_touchEventQueue.removeFirst();
    35033503
    3504         m_pageClient->doneWithTouchEvent(queuedEvents.forwardedEvent, handled);
     3504        m_pageClient.doneWithTouchEvent(queuedEvents.forwardedEvent, handled);
    35053505        for (size_t i = 0; i < queuedEvents.deferredTouchEvents.size(); ++i) {
    35063506            bool isEventHandled = false;
    3507             m_pageClient->doneWithTouchEvent(queuedEvents.deferredTouchEvents.at(i), isEventHandled);
     3507            m_pageClient.doneWithTouchEvent(queuedEvents.deferredTouchEvents.at(i), isEventHandled);
    35083508        }
    35093509        break;
     
    36803680    m_pageLoadState.reset();
    36813681
    3682     m_pageClient->processDidCrash();
     3682    m_pageClient.processDidCrash();
    36833683    m_loaderClient.processDidCrash(this);
    36843684}
     
    37703770        return;
    37713771
    3772     ASSERT(m_pageClient);
    37733772    m_process->removeMessageReceiver(Messages::WebPageProxy::messageReceiverName(), m_pageID);
    37743773
     
    37843783    resetState();
    37853784
    3786     m_pageClient->clearAllEditCommands();
     3785    m_pageClient.clearAllEditCommands();
    37873786    m_pendingLearnOrIgnoreWordMessageCount = 0;
    37883787
     
    38083807#if !PLATFORM(IOS) && PLATFORM(MAC)
    38093808    dismissCorrectionPanel(ReasonForDismissingAlternativeTextIgnored);
    3810     m_pageClient->dismissDictionaryLookupPanel();
     3809    m_pageClient.dismissDictionaryLookupPanel();
    38113810#endif
    38123811}
     
    38143813void WebPageProxy::initializeCreationParameters()
    38153814{
    3816     m_creationParameters.viewSize = m_pageClient->viewSize();
     3815    m_creationParameters.viewSize = m_pageClient.viewSize();
    38173816    m_creationParameters.viewState = m_viewState;
    38183817    m_creationParameters.drawingAreaType = m_drawingArea->type();
     
    38453844    m_creationParameters.layerHostingMode = m_layerHostingMode;
    38463845#if !PLATFORM(IOS)
    3847     m_creationParameters.colorSpace = m_pageClient->colorSpace();
     3846    m_creationParameters.colorSpace = m_pageClient.colorSpace();
    38483847#endif // !PLATFORM(IOS)
    38493848#endif
     
    38533852void WebPageProxy::enterAcceleratedCompositingMode(const LayerTreeContext& layerTreeContext)
    38543853{
    3855     m_pageClient->enterAcceleratedCompositingMode(layerTreeContext);
     3854    m_pageClient.enterAcceleratedCompositingMode(layerTreeContext);
    38563855}
    38573856
    38583857void WebPageProxy::exitAcceleratedCompositingMode()
    38593858{
    3860     m_pageClient->exitAcceleratedCompositingMode();
     3859    m_pageClient.exitAcceleratedCompositingMode();
    38613860}
    38623861
    38633862void WebPageProxy::updateAcceleratedCompositingMode(const LayerTreeContext& layerTreeContext)
    38643863{
    3865     m_pageClient->updateAcceleratedCompositingMode(layerTreeContext);
     3864    m_pageClient.updateAcceleratedCompositingMode(layerTreeContext);
    38663865}
    38673866#endif // USE(ACCELERATED_COMPOSITING)
     
    39373936        return;
    39383937
    3939     if (m_pageClient->decidePolicyForGeolocationPermissionRequest(*frame, *origin, *request))
     3938    if (m_pageClient.decidePolicyForGeolocationPermissionRequest(*frame, *origin, *request))
    39403939        return;
    39413940
     
    40254024{
    40264025#if USE(APPKIT)
    4027     m_pageClient->recommendedScrollbarStyleDidChange(newStyle);
     4026    m_pageClient.recommendedScrollbarStyleDidChange(newStyle);
    40284027#else
    40294028    UNUSED_PARAM(newStyle);
     
    41864185        isDiscardable = false;
    41874186    else
    4188         isDiscardable = !m_pageClient->isViewWindowActive() || !isViewVisible();
     4187        isDiscardable = !m_pageClient.isViewWindowActive() || !isViewVisible();
    41894188
    41904189    m_drawingArea->setBackingStoreIsDiscardable(isDiscardable);
     
    42524251void WebPageProxy::showCorrectionPanel(int32_t panelType, const FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacementString, const Vector<String>& alternativeReplacementStrings)
    42534252{
    4254     m_pageClient->showCorrectionPanel((AlternativeTextType)panelType, boundingBoxOfReplacedString, replacedString, replacementString, alternativeReplacementStrings);
     4253    m_pageClient.showCorrectionPanel((AlternativeTextType)panelType, boundingBoxOfReplacedString, replacedString, replacementString, alternativeReplacementStrings);
    42554254}
    42564255
    42574256void WebPageProxy::dismissCorrectionPanel(int32_t reason)
    42584257{
    4259     m_pageClient->dismissCorrectionPanel((ReasonForDismissingAlternativeText)reason);
     4258    m_pageClient.dismissCorrectionPanel((ReasonForDismissingAlternativeText)reason);
    42604259}
    42614260
    42624261void WebPageProxy::dismissCorrectionPanelSoon(int32_t reason, String& result)
    42634262{
    4264     result = m_pageClient->dismissCorrectionPanelSoon((ReasonForDismissingAlternativeText)reason);
     4263    result = m_pageClient.dismissCorrectionPanelSoon((ReasonForDismissingAlternativeText)reason);
    42654264}
    42664265
    42674266void WebPageProxy::recordAutocorrectionResponse(int32_t responseType, const String& replacedString, const String& replacementString)
    42684267{
    4269     m_pageClient->recordAutocorrectionResponse((AutocorrectionResponseType)responseType, replacedString, replacementString);
     4268    m_pageClient.recordAutocorrectionResponse((AutocorrectionResponseType)responseType, replacedString, replacementString);
    42704269}
    42714270
     
    42794278void WebPageProxy::showDictationAlternativeUI(const WebCore::FloatRect& boundingBoxOfDictatedText, uint64_t dictationContext)
    42804279{
    4281     m_pageClient->showDictationAlternativeUI(boundingBoxOfDictatedText, dictationContext);
     4280    m_pageClient.showDictationAlternativeUI(boundingBoxOfDictatedText, dictationContext);
    42824281}
    42834282
    42844283void WebPageProxy::removeDictationAlternatives(uint64_t dictationContext)
    42854284{
    4286     m_pageClient->removeDictationAlternatives(dictationContext);
     4285    m_pageClient.removeDictationAlternatives(dictationContext);
    42874286}
    42884287
    42894288void WebPageProxy::dictationAlternatives(uint64_t dictationContext, Vector<String>& result)
    42904289{
    4291     result = m_pageClient->dictationAlternatives(dictationContext);
     4290    result = m_pageClient.dictationAlternatives(dictationContext);
    42924291}
    42934292#endif
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.h

    r159765 r159889  
    323323public:
    324324
    325     static PassRefPtr<WebPageProxy> create(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
     325    static PassRefPtr<WebPageProxy> create(PageClient&, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
    326326    virtual ~WebPageProxy();
    327327
     
    848848       
    849849private:
    850     WebPageProxy(PageClient*, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
     850    WebPageProxy(PageClient&, PassRefPtr<WebProcessProxy>, WebPageGroup*, uint64_t pageID);
    851851    void platformInitialize();
    852852    void initializeCreationParameters();
     
    11391139#endif
    11401140
    1141     PageClient* m_pageClient;
     1141    PageClient& m_pageClient;
    11421142    WebLoaderClient m_loaderClient;
    11431143    WebPolicyClient m_policyClient;
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp

    r159765 r159889  
    161161}
    162162
    163 PassRefPtr<WebPageProxy> WebProcessProxy::createWebPage(PageClient* pageClient, WebContext*, WebPageGroup* pageGroup)
     163PassRefPtr<WebPageProxy> WebProcessProxy::createWebPage(PageClient& pageClient, WebContext*, WebPageGroup* pageGroup)
    164164{
    165165    uint64_t pageID = generatePageID();
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.h

    r159765 r159889  
    7878
    7979    static WebPageProxy* webPage(uint64_t pageID);
    80     PassRefPtr<WebPageProxy> createWebPage(PageClient*, WebContext*, WebPageGroup*);
     80    PassRefPtr<WebPageProxy> createWebPage(PageClient&, WebContext*, WebPageGroup*);
    8181    void addExistingWebPage(WebPageProxy*, uint64_t pageID);
    8282    void removeWebPage(uint64_t pageID);
  • trunk/Source/WebKit2/UIProcess/gtk/WebPageProxyGtk.cpp

    r156973 r159889  
    5858    // it will arrive without a GdkEvent associated, so the keyEventQueue will be empty.
    5959    if (!m_keyEventQueue.isEmpty())
    60         m_pageClient->getEditorCommandsForKeyEvent(m_keyEventQueue.first(), eventType, commandsList);
     60        m_pageClient.getEditorCommandsForKeyEvent(m_keyEventQueue.first(), eventType, commandsList);
    6161}
    6262
  • trunk/Source/WebKit2/UIProcess/ios/WebPageProxyIOS.mm

    r159724 r159889  
    276276{
    277277    m_editorState = state;
    278     handled = m_pageClient->interpretKeyEvent(m_keyEventQueue.first(), isCharEvent);
     278    handled = m_pageClient.interpretKeyEvent(m_keyEventQueue.first(), isCharEvent);
    279279}
    280280
     
    357357void WebPageProxy::mainDocumentDidReceiveMobileDocType()
    358358{
    359     m_pageClient->mainDocumentDidReceiveMobileDocType();
     359    m_pageClient.mainDocumentDidReceiveMobileDocType();
    360360}
    361361
    362362void WebPageProxy::didGetTapHighlightGeometries(uint64_t requestID, const WebCore::Color& color, const Vector<WebCore::FloatQuad>& highlightedQuads, const WebCore::IntSize& topLeftRadius, const WebCore::IntSize& topRightRadius, const WebCore::IntSize& bottomLeftRadius, const WebCore::IntSize& bottomRightRadius)
    363363{
    364     m_pageClient->didGetTapHighlightGeometries(requestID, color, highlightedQuads, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius);
     364    m_pageClient.didGetTapHighlightGeometries(requestID, color, highlightedQuads, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius);
    365365}
    366366
    367367void WebPageProxy::didChangeViewportArguments(const WebCore::ViewportArguments& viewportArguments)
    368368{
    369     m_pageClient->didChangeViewportArguments(viewportArguments);
     369    m_pageClient.didChangeViewportArguments(viewportArguments);
    370370}
    371371
    372372void WebPageProxy::startAssistingNode(const WebCore::IntRect& scrollRect, bool hasNextFocusable, bool hasPreviousFocusable)
    373373{
    374     m_pageClient->startAssistingNode(scrollRect, hasNextFocusable, hasPreviousFocusable);
     374    m_pageClient.startAssistingNode(scrollRect, hasNextFocusable, hasPreviousFocusable);
    375375}
    376376
    377377void WebPageProxy::stopAssistingNode()
    378378{
    379     m_pageClient->stopAssistingNode();
     379    m_pageClient.stopAssistingNode();
    380380}
    381381
     
    402402void WebPageProxy::setAcceleratedCompositingRootLayer(PlatformLayer* rootLayer)
    403403{
    404     m_pageClient->setAcceleratedCompositingRootLayer(rootLayer);
     404    m_pageClient.setAcceleratedCompositingRootLayer(rootLayer);
    405405}
    406406
  • trunk/Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm

    r159877 r159889  
    151151    // In case the UI client overrides getWindowFrame(), we call it here to make sure we send the appropriate window frame.
    152152    FloatRect windowFrameInScreenCoordinates = m_uiClient.windowFrame(this);
    153     FloatRect windowFrameInUnflippedScreenCoordinates = m_pageClient->convertToUserSpace(windowFrameInScreenCoordinates);
     153    FloatRect windowFrameInUnflippedScreenCoordinates = m_pageClient.convertToUserSpace(windowFrameInScreenCoordinates);
    154154
    155155    process()->send(Messages::WebPage::WindowAndViewFramesChanged(windowFrameInScreenCoordinates, windowFrameInUnflippedScreenCoordinates, viewFrameInWindowCoordinates, accessibilityViewCoordinates), m_pageID);
     
    241241    for (size_t i = 0; i < dictationAlternativesWithRange.size(); ++i) {
    242242        const TextAlternativeWithRange& alternativeWithRange = dictationAlternativesWithRange[i];
    243         uint64_t dictationContext = m_pageClient->addDictationAlternatives(alternativeWithRange.alternatives);
     243        uint64_t dictationContext = m_pageClient.addDictationAlternatives(alternativeWithRange.alternatives);
    244244        if (dictationContext)
    245245            dictationAlternatives.append(DictationAlternative(alternativeWithRange.range.location, alternativeWithRange.range.length, dictationContext));
     
    360360        return;
    361361   
    362     m_pageClient->setDragImage(clientPosition, dragImage.release(), isLinkDrag);
     362    m_pageClient.setDragImage(clientPosition, dragImage.release(), isLinkDrag);
    363363}
    364364
     
    374374        archiveBuffer = SharedBuffer::create(static_cast<unsigned char*>(sharedMemoryArchive->data()), archiveSize);
    375375    }
    376     m_pageClient->setPromisedData(pasteboardName, imageBuffer, filename, extension, title, url, visibleURL, archiveBuffer);
     376    m_pageClient.setPromisedData(pasteboardName, imageBuffer, filename, extension, title, url, visibleURL, archiveBuffer);
    377377}
    378378#endif
     
    389389{
    390390    m_editorState = state;
    391     handled = m_pageClient->interpretKeyEvent(m_keyEventQueue.first(), commands);
     391    handled = m_pageClient.interpretKeyEvent(m_keyEventQueue.first(), commands);
    392392}
    393393
     
    428428void WebPageProxy::didPerformDictionaryLookup(const AttributedString& text, const DictionaryPopupInfo& dictionaryPopupInfo)
    429429{
    430     m_pageClient->didPerformDictionaryLookup(text, dictionaryPopupInfo);
     430    m_pageClient.didPerformDictionaryLookup(text, dictionaryPopupInfo);
    431431}
    432432   
    433433void WebPageProxy::registerWebProcessAccessibilityToken(const CoreIPC::DataReference& data)
    434434{
    435     m_pageClient->accessibilityWebProcessTokenReceived(data);
     435    m_pageClient.accessibilityWebProcessTokenReceived(data);
    436436}   
    437437   
    438438void WebPageProxy::makeFirstResponder()
    439439{
    440     m_pageClient->makeFirstResponder();
     440    m_pageClient.makeFirstResponder();
    441441}
    442442
    443443ColorSpaceData WebPageProxy::colorSpace()
    444444{
    445     return m_pageClient->colorSpace();
     445    return m_pageClient.colorSpace();
    446446}
    447447
     
    456456void WebPageProxy::pluginFocusOrWindowFocusChanged(uint64_t pluginComplexTextInputIdentifier, bool pluginHasFocusAndWindowHasFocus)
    457457{
    458     m_pageClient->pluginFocusOrWindowFocusChanged(pluginComplexTextInputIdentifier, pluginHasFocusAndWindowHasFocus);
     458    m_pageClient.pluginFocusOrWindowFocusChanged(pluginComplexTextInputIdentifier, pluginHasFocusAndWindowHasFocus);
    459459}
    460460
     
    463463    MESSAGE_CHECK(isValidPluginComplexTextInputState(pluginComplexTextInputState));
    464464
    465     m_pageClient->setPluginComplexTextInputState(pluginComplexTextInputIdentifier, static_cast<PluginComplexTextInputState>(pluginComplexTextInputState));
     465    m_pageClient.setPluginComplexTextInputState(pluginComplexTextInputIdentifier, static_cast<PluginComplexTextInputState>(pluginComplexTextInputState));
    466466}
    467467
     
    470470    MESSAGE_CHECK(isValidKeypressCommandName(selector));
    471471
    472     handled = m_pageClient->executeSavedCommandBySelector(selector);
     472    handled = m_pageClient.executeSavedCommandBySelector(selector);
    473473}
    474474
     
    497497WKView* WebPageProxy::wkView() const
    498498{
    499     return m_pageClient->wkView();
     499    return m_pageClient.wkView();
    500500}
    501501
    502502void WebPageProxy::intrinsicContentSizeDidChange(const IntSize& intrinsicContentSize)
    503503{
    504     m_pageClient->intrinsicContentSizeDidChange(intrinsicContentSize);
     504    m_pageClient.intrinsicContentSizeDidChange(intrinsicContentSize);
    505505}
    506506
    507507void WebPageProxy::setAcceleratedCompositingRootLayer(PlatformLayer* rootLayer)
    508508{
    509     m_pageClient->setAcceleratedCompositingRootLayer(rootLayer);
     509    m_pageClient.setAcceleratedCompositingRootLayer(rootLayer);
    510510}
    511511
Note: See TracChangeset for help on using the changeset viewer.