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

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

Issue 235113002: Oilpan: Remove guardRef and guardDeref from TreeScope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Only perform weak processing of the event handler registry if the document is active. 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
Index: Source/core/page/DOMSelection.cpp
diff --git a/Source/core/page/DOMSelection.cpp b/Source/core/page/DOMSelection.cpp
index ebde68e61b0aabacef172ce9208df35978b90f7a..9e41922632deb548b75a4fa9794f59f80001a9fa 100644
--- a/Source/core/page/DOMSelection.cpp
+++ b/Source/core/page/DOMSelection.cpp
@@ -68,7 +68,7 @@ DOMSelection::DOMSelection(const TreeScope* treeScope)
void DOMSelection::clearTreeScope()
{
- m_treeScope = 0;
+ m_treeScope = nullptr;
}
const VisibleSelection& DOMSelection::visibleSelection() const

Powered by Google App Engine
This is Rietveld 408576698