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

Unified Diff: Source/core/page/DOMSelection.h

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments. Created 6 years, 8 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 | « Source/core/html/shadow/TextControlInnerElements.cpp ('k') | Source/core/page/DOMSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DOMSelection.h
diff --git a/Source/core/page/DOMSelection.h b/Source/core/page/DOMSelection.h
index cc3bff6cdb5a42a6521deb78255f54750ce0b3e6..d2502cee534ec36b7e0337d3f80dfb7b5b728032 100644
--- a/Source/core/page/DOMSelection.h
+++ b/Source/core/page/DOMSelection.h
@@ -96,7 +96,7 @@ public:
// Microsoft Selection Object API
void empty();
- void trace(Visitor*) { }
+ void trace(Visitor* visitor) { visitor->trace(m_treeScope); }
private:
explicit DOMSelection(const TreeScope*);
@@ -111,7 +111,7 @@ private:
void addConsoleError(const String& message);
- const TreeScope* m_treeScope;
+ RawPtrWillBeMember<const TreeScope> m_treeScope;
};
} // namespace WebCore
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.cpp ('k') | Source/core/page/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698