CoordinatedGraphicsScene* EwkView::coordinatedGraphicsScene() { DrawingAreaProxy* drawingArea = page()->drawingArea(); if (!drawingArea) return 0; WebKit::CoordinatedLayerTreeHostProxy* coordinatedLayerTreeHostProxy = drawingArea->coordinatedLayerTreeHostProxy(); if (!coordinatedLayerTreeHostProxy) return 0; return coordinatedLayerTreeHostProxy->coordinatedGraphicsScene(); }
CoordinatedGraphicsScene* WebView::coordinatedGraphicsScene() { DrawingAreaProxy* drawingArea = m_page->drawingArea(); if (!drawingArea) return 0; WebKit::CoordinatedLayerTreeHostProxy* layerTreeHostProxy = drawingArea->coordinatedLayerTreeHostProxy(); if (!layerTreeHostProxy) return 0; return layerTreeHostProxy->coordinatedGraphicsScene(); }