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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h

Issue 1521583002: Oilpan: fix build after r364654. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no need for GarbageCollectedFinalized<> for SlotAssignment Created 5 years 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 | « third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
index 7c6058fa1ef63c355846c248f002d62aa5dcaeee..51d7a048a8dd574e5bbc35865fd4204d164d14df 100644
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
@@ -13,15 +13,21 @@ class HTMLSlotElement;
class Node;
class ShadowRoot;
-class SlotAssignment final {
+class SlotAssignment final : public NoBaseWillBeGarbageCollected<SlotAssignment> {
public:
- SlotAssignment() { }
+ static PassOwnPtrWillBeRawPtr<SlotAssignment> create()
+ {
+ return adoptPtrWillBeNoop(new SlotAssignment);
+ }
+
HTMLSlotElement* assignedSlotFor(const Node&) const;
void resolveAssignment(const ShadowRoot&);
DECLARE_TRACE();
private:
+ SlotAssignment() { }
+
void assign(Node&, HTMLSlotElement&);
WillBeHeapHashMap<RawPtrWillBeMember<Node>, RawPtrWillBeMember<HTMLSlotElement>> m_assignment;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/ElementShadow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698