Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1400)

Unified Diff: Source/core/rendering/RenderPart.cpp

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Handle shared-renderer case. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderPart.h ('k') | Source/core/rendering/RenderWidget.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderPart.cpp
diff --git a/Source/core/rendering/RenderPart.cpp b/Source/core/rendering/RenderPart.cpp
index 27c851660dfaa09bd7ad89e19242cf911befbfcc..23c50fbe41658c13d6bc95039effd8a96f05bac4 100644
--- a/Source/core/rendering/RenderPart.cpp
+++ b/Source/core/rendering/RenderPart.cpp
@@ -46,15 +46,6 @@ RenderPart::RenderPart(Element* node)
RenderPart::~RenderPart()
{
- clearWidget();
-}
-
-void RenderPart::setWidget(PassRefPtr<Widget> widget)
-{
- if (widget == this->widget())
- return;
-
- RenderWidget::setWidget(widget);
}
LayerType RenderPart::layerTypeRequired() const
« no previous file with comments | « Source/core/rendering/RenderPart.h ('k') | Source/core/rendering/RenderWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698