Chromium Code Reviews| Index: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| index d510d47e9da9381e52f67b25a29c02942f0717ff..016f1a813ba16b09b76792ff642587a293b82836 100644 |
| --- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| +++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h |
| @@ -27,6 +27,7 @@ |
| #ifndef NavigatorContentUtils_h |
| #define NavigatorContentUtils_h |
| +#include "core/frame/LocalFrame.h" |
|
sof
2016/07/11 05:10:31
why is this needed?
haraken
2016/07/11 05:39:13
Fixed.
sof
2016/07/11 05:58:14
thanks (forgot to add lgtm previously...but done n
|
| #include "modules/ModulesExport.h" |
| #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
| #include "platform/Supplementable.h" |
| @@ -36,7 +37,6 @@ |
| namespace blink { |
| class ExceptionState; |
| -class LocalFrame; |
| class Navigator; |
| class MODULES_EXPORT NavigatorContentUtils final : public GarbageCollectedFinalized<NavigatorContentUtils>, public Supplement<LocalFrame> { |
| @@ -53,11 +53,7 @@ public: |
| static NavigatorContentUtils* create(NavigatorContentUtilsClient*); |
| - DEFINE_INLINE_VIRTUAL_TRACE() |
| - { |
| - visitor->trace(m_client); |
| - Supplement<LocalFrame>::trace(visitor); |
| - } |
| + DECLARE_VIRTUAL_TRACE(); |
| void setClientForTest(NavigatorContentUtilsClient* client) { m_client = client; } |