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

Unified Diff: third_party/WebKit/Source/core/html/PluginDocument.cpp

Issue 2238983002: Do not try to use an HTML embed instead of a Flash one inside a PluginDocument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 4 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 | « third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/PluginDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/PluginDocument.cpp b/third_party/WebKit/Source/core/html/PluginDocument.cpp
index 221c5a4c17499778a45fd3c877e1777c38d8a2f0..8f4f31157243e27f541b4a4fd12e3c9aea1403af 100644
--- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
+++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
@@ -178,7 +178,7 @@ DocumentParser* PluginDocument::createParser()
Widget* PluginDocument::pluginWidget()
{
if (m_pluginNode && m_pluginNode->layoutObject()) {
- ASSERT(m_pluginNode->layoutObject()->isEmbeddedObject());
+ CHECK(m_pluginNode->layoutObject()->isEmbeddedObject());
return toLayoutEmbeddedObject(m_pluginNode->layoutObject())->widget();
}
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698