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

Unified Diff: Source/web/PopupMenuImpl.cpp

Issue 889183002: Oilpan: fix build after r189304 (6a1bbc3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PopupMenuImpl.cpp
diff --git a/Source/web/PopupMenuImpl.cpp b/Source/web/PopupMenuImpl.cpp
index a03c13dcd202d9e281f3d8c6d69cc376ceda9811..40e7b84c254afe7744aaae3ba7690e520e323f45 100644
--- a/Source/web/PopupMenuImpl.cpp
+++ b/Source/web/PopupMenuImpl.cpp
@@ -33,10 +33,15 @@ public:
// only worked with fonts loaded when opening the popup.
virtual PassRefPtr<FontData> getFontData(const FontDescription&, const AtomicString&) override;
+ virtual void trace(Visitor*) override;
+
private:
PopupMenuCSSFontSelector(Document* document, CSSFontSelector* ownerFontSelector)
: CSSFontSelector(document)
- , m_ownerFontSelector(ownerFontSelector) { }
+ , m_ownerFontSelector(ownerFontSelector)
+ {
+ }
+
RefPtrWillBeMember<CSSFontSelector> m_ownerFontSelector;
};
@@ -45,6 +50,12 @@ PassRefPtr<FontData> PopupMenuCSSFontSelector::getFontData(const FontDescription
return m_ownerFontSelector->getFontData(description, name);
}
+void PopupMenuCSSFontSelector::trace(Visitor* visitor)
+{
+ visitor->trace(m_ownerFontSelector);
+ CSSFontSelector::trace(visitor);
+}
+
PassRefPtrWillBeRawPtr<PopupMenuImpl> PopupMenuImpl::create(ChromeClientImpl* chromeClient, PopupMenuClient* client)
{
return adoptRefWillBeNoop(new PopupMenuImpl(chromeClient, client));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698