| Index: Source/core/html/HTMLObjectElement.cpp
|
| diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp
|
| index 1c63d588b2dcb7ec13f97f6cfc516bd0d2de67c8..c8268ad1c8afae6aaec96b7b8de6e6ac699932ee 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;
|
|
|