Fix the bug that fixed element has wrong size
[framework/web/webkit-efl.git] / Source / WebKit2 / WebProcess / WebPage / LayerTreeCoordinator / WebGraphicsLayer.cpp
index 6573648..3a43f2c 100755 (executable)
@@ -257,7 +257,8 @@ void WebGraphicsLayer::setSize(const FloatSize& size)
         maskLayer()->setSize(size);
     didChangeGeometry();
 #if ENABLE(TIZEN_WEBKIT2_TILED_AC)
-    adjustVisibleRect();
+    if (!fixedToViewport())
+        adjustVisibleRect();
 #endif
 }