| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index 8bc52b8f7287a40b400ebb6cbd0c5522772841b3..c150c46262fb9a0f504185f965aa4394c8d7b71d 100644
|
| --- a/Source/core/html/HTMLObjectElement.cpp
|
| +++ b/Source/core/html/HTMLObjectElement.cpp
|
| @@ -37,7 +37,6 @@
|
| #include "core/html/HTMLMetaElement.h"
|
| #include "core/html/HTMLParamElement.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
| -#include "core/page/Page.h"
|
| #include "core/page/Settings.h"
|
| #include "core/platform/MIMETypeRegistry.h"
|
| #include "core/platform/Widget.h"
|
| @@ -230,8 +229,8 @@ bool HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk()
|
| // 'generator' meta tag is present. Only apply this quirk if there is no
|
| // fallback content, which ensures the quirk will disable itself if Wiki
|
| // Server is updated to generate an alternate embed tag as fallback content.
|
| - if (!document().page()
|
| - || !document().page()->settings().needsSiteSpecificQuirks()
|
| + if (!document().settings()
|
| + || !document().settings()->needsSiteSpecificQuirks()
|
| || hasFallbackContent()
|
| || !equalIgnoringCase(classId(), "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"))
|
| return false;
|
|
|