REGRESSION (r95926) Assert firing in svg/clip-path/clip-path-on-svg.svg
[WebKit-https.git] / Source / WebCore / rendering / RenderObject.cpp
index d88f3b874fa0b17b1919f94804880e1b9db43315..237da514316bcd49330799351c7aa5f17a6eee42 100644 (file)
@@ -2303,10 +2303,11 @@ void RenderObject::scheduleRelayout()
         if (view)
             view->scheduleRelayout();
     } else {
-        RenderView* renderView;
-        if (isRooted(&renderView)) {
-            if (FrameView* frameView = renderView->frameView())
-                frameView->scheduleRelayoutOfSubtree(this);
+        if (isRooted()) {
+            if (RenderView* renderView = view()) {
+                if (FrameView* frameView = renderView->frameView())
+                    frameView->scheduleRelayoutOfSubtree(this);
+            }
         }
     }
 }