Commit 9e4e7777 authored by ryuan.choi@samsung.com's avatar ryuan.choi@samsung.com
Browse files

Unreviewed build fix after r159896.

* UIProcess/API/efl/ewk_settings.cpp:
(EwkSettings::preferences):
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
(WebKit::CoordinatedDrawingAreaProxy::CoordinatedDrawingAreaProxy):
* UIProcess/CoordinatedGraphics/WebView.cpp:
(WebKit::WebView::WebView):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ee2029d8
2013-12-01 Ryuan Choi <ryuan.choi@samsung.com>
Unreviewed build fix after r159896.
* UIProcess/API/efl/ewk_settings.cpp:
(EwkSettings::preferences):
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
(WebKit::CoordinatedDrawingAreaProxy::CoordinatedDrawingAreaProxy):
* UIProcess/CoordinatedGraphics/WebView.cpp:
(WebKit::WebView::WebView):
2013-11-30 Sam Weinig <sam@webkit.org>
[CTTE] The WebPageProxy's WebPageGroup is never null so it should be stored in a Ref
......
......@@ -37,12 +37,12 @@ using namespace WebKit;
const WebKit::WebPreferences* EwkSettings::preferences() const
{
return m_view->page()->pageGroup()->preferences();
return m_view->page()->pageGroup().preferences();
}
WebKit::WebPreferences* EwkSettings::preferences()
{
return m_view->page()->pageGroup()->preferences();
return m_view->page()->pageGroup().preferences();
}
Eina_Bool ewk_settings_fullscreen_enabled_set(Ewk_Settings* settings, Eina_Bool enable)
......
......@@ -54,7 +54,7 @@ CoordinatedDrawingAreaProxy::CoordinatedDrawingAreaProxy(WebPageProxy* webPagePr
, m_discardBackingStoreTimer(RunLoop::current(), this, &CoordinatedDrawingAreaProxy::discardBackingStore)
{
// Construct the proxy early to allow messages to be sent to the web process while AC is entered there.
if (webPageProxy->pageGroup()->preferences()->forceCompositingMode())
if (webPageProxy->pageGroup().preferences()->forceCompositingMode())
m_coordinatedLayerTreeHostProxy = adoptPtr(new CoordinatedLayerTreeHostProxy(this));
}
......
......@@ -54,13 +54,13 @@ WebView::WebView(WebContext* context, WebPageGroup* pageGroup)
// Need to call createWebPage after other data members, specifically m_visible, are initialized.
m_page = context->createWebPage(*this, pageGroup);
m_page->pageGroup()->preferences()->setAcceleratedCompositingEnabled(true);
m_page->pageGroup()->preferences()->setForceCompositingMode(true);
m_page->pageGroup().preferences()->setAcceleratedCompositingEnabled(true);
m_page->pageGroup().preferences()->setForceCompositingMode(true);
char* debugVisualsEnvironment = getenv("WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS");
bool showDebugVisuals = debugVisualsEnvironment && !strcmp(debugVisualsEnvironment, "1");
m_page->pageGroup()->preferences()->setCompositingBordersVisible(showDebugVisuals);
m_page->pageGroup()->preferences()->setCompositingRepaintCountersVisible(showDebugVisuals);
m_page->pageGroup().preferences()->setCompositingBordersVisible(showDebugVisuals);
m_page->pageGroup().preferences()->setCompositingRepaintCountersVisible(showDebugVisuals);
}
WebView::~WebView()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment