summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/src/WebViewImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebViewImpl.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebViewImpl.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp
index 9447b18..896395d 100644
--- a/Source/WebKit/chromium/src/WebViewImpl.cpp
+++ b/Source/WebKit/chromium/src/WebViewImpl.cpp
@@ -1006,11 +1006,6 @@ void WebViewImpl::animate()
void WebViewImpl::layout()
{
-#if USE(ACCELERATED_COMPOSITING)
- // FIXME: RTL style not supported by the compositor yet.
- if (isAcceleratedCompositingActive() && pageHasRTLStyle())
- setIsAcceleratedCompositingActive(false);
-#endif
WebFrameImpl* webframe = mainFrameImpl();
if (webframe) {
@@ -2303,8 +2298,7 @@ bool WebViewImpl::pageHasRTLStyle() const
void WebViewImpl::setRootGraphicsLayer(WebCore::PlatformLayer* layer)
{
- // FIXME: RTL style not supported by the compositor yet.
- setIsAcceleratedCompositingActive(layer && !pageHasRTLStyle() ? true : false);
+ setIsAcceleratedCompositingActive(layer);
if (m_layerRenderer)
m_layerRenderer->setRootLayer(layer);