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

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.h

Issue 2141493002: Add missing traces for Supplement<> classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 5 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
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..323b00c4cf9c7870ad136eadb353beb4dcbc39bd 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"
#include "modules/ModulesExport.h"
#include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
#include "platform/Supplementable.h"
@@ -53,11 +54,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; }

Powered by Google App Engine
This is Rietveld 408576698