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

Unified Diff: Source/core/html/HTMLObjectElement.cpp

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't store plugin (widget) pointer in RenderWidget. Created 7 years, 1 month 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 | « no previous file | Source/core/html/HTMLPlugInElement.h » ('j') | Source/core/html/HTMLPlugInElement.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLObjectElement.cpp
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
index 72d7db9ac54df0dd75de556a521fdba4dcb4e12a..ff860ea474f9bbc478be74dd8fd9456528b27335 100644
--- a/Source/core/html/HTMLObjectElement.cpp
+++ b/Source/core/html/HTMLObjectElement.cpp
@@ -98,6 +98,8 @@ void HTMLObjectElement::parseAttribute(const QualifiedName& name, const AtomicSt
m_serviceType = m_serviceType.left(pos);
if (renderer())
setNeedsWidgetUpdate(true);
eseidel 2013/11/18 22:26:45 I take it we're trying to avoid synchronously crea
wjmaclean 2013/11/25 17:51:56 This needs to be investigated further, but I'm gue
+ else
+ createPluginWithoutRenderer(m_serviceType);
} else if (name == dataAttr) {
m_url = stripLeadingAndTrailingHTMLSpaces(value);
if (renderer()) {
« no previous file with comments | « no previous file | Source/core/html/HTMLPlugInElement.h » ('j') | Source/core/html/HTMLPlugInElement.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698