| 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 8f4f31157243e27f541b4a4fd12e3c9aea1403af..d9254c39c9fc9764198dc135c6fa4f0fd923a6f6 100644
|
| --- a/third_party/WebKit/Source/core/html/PluginDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/PluginDocument.cpp
|
| @@ -79,7 +79,7 @@ void PluginDocumentParser::createDocumentStructure()
|
| {
|
| // FIXME: Assert we have a loader to figure out why the original null checks
|
| // and assert were added for the security bug in http://trac.webkit.org/changeset/87566
|
| - ASSERT(document());
|
| + DCHECK(document());
|
| RELEASE_ASSERT(document()->loader());
|
|
|
| LocalFrame* frame = document()->frame();
|
| @@ -154,7 +154,7 @@ void PluginDocumentParser::finish()
|
| PluginView* PluginDocumentParser::pluginView() const
|
| {
|
| if (Widget* widget = toPluginDocument(document())->pluginWidget()) {
|
| - ASSERT_WITH_SECURITY_IMPLICATION(widget->isPluginContainer());
|
| + SECURITY_DCHECK(widget->isPluginContainer());
|
| return toPluginView(widget);
|
| }
|
| return 0;
|
|
|