Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp |
| index 6c4b14d28b26638299534429a8c2b5754c0e609c..e96868f362c65cc290ab212bb79b0316e2c2c4e9 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp |
| @@ -134,8 +134,9 @@ void LayoutEmbeddedObject::layout() |
| Widget* widget = this->widget(); |
| if (widget) { |
| + // TODO(chrishtr): remove this code. It's now called in FrameView::updateStyleAndLayoutIfNeededRecursive. |
|
wkorman
2016/03/08 01:38:50
What blocks removing this?
chrishtr
2016/03/10 19:06:14
I mentioned it in the first patchset, but I left t
|
| if (widget->isPluginView()) |
| - toPluginView(widget)->layoutIfNeeded(); |
| + toPluginView(widget)->updateAllLifecyclePhases(); |
| } else if (frameView()) { |
| frameView()->addPartToUpdate(*this); |
| } |