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

Unified Diff: sky/engine/core/html/HTMLImageElement.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/HTMLImageElement.h ('k') | sky/engine/core/html/HTMLStyleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLImageElement.cpp
diff --git a/sky/engine/core/html/HTMLImageElement.cpp b/sky/engine/core/html/HTMLImageElement.cpp
index 428c08c3e8c97e8263d580ba2a7c6c03d06e52f6..4bf05c94ec536fa0fd24543c58051dbffba7fffb 100644
--- a/sky/engine/core/html/HTMLImageElement.cpp
+++ b/sky/engine/core/html/HTMLImageElement.cpp
@@ -59,14 +59,8 @@ public:
m_element->notifyViewportChanged();
}
-#if !ENABLE(OILPAN)
void clearElement() { m_element = nullptr; }
-#endif
- virtual void trace(Visitor* visitor) override
- {
- visitor->trace(m_element);
- MediaQueryListListener::trace(visitor);
- }
+
private:
explicit ViewportChangeListener(HTMLImageElement* element) : m_element(element) { }
RawPtr<HTMLImageElement> m_element;
@@ -102,13 +96,6 @@ HTMLImageElement::~HTMLImageElement()
#endif
}
-void HTMLImageElement::trace(Visitor* visitor)
-{
- visitor->trace(m_imageLoader);
- visitor->trace(m_listener);
- HTMLElement::trace(visitor);
-}
-
void HTMLImageElement::notifyViewportChanged()
{
// Re-selecting the source URL in order to pick a more fitting resource
« no previous file with comments | « sky/engine/core/html/HTMLImageElement.h ('k') | sky/engine/core/html/HTMLStyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698