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

Unified Diff: Source/web/WebIDBKey.cpp

Issue 168963003: Make WebPrivatePtr capable of wrapping garbage collected objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Temporarily drop back to using .reset() instead of nullptr. Created 6 years, 10 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/web/WebIDBKey.cpp
diff --git a/Source/web/WebIDBKey.cpp b/Source/web/WebIDBKey.cpp
index c61b0d60d9ef7f32d12f1ad6d2a53d79bc891fc8..cfa0b0b210d93ad0a6e0443ddcfdbcf55bdcb701 100644
--- a/Source/web/WebIDBKey.cpp
+++ b/Source/web/WebIDBKey.cpp
@@ -187,7 +187,8 @@ void WebIDBKey::assignInvalid()
void WebIDBKey::assignNull()
{
- m_private = 0;
+ // FIXME: replace reset() with nullptr assignment (cf. https://codereview.chromium.org/170603003/ )
+ m_private.reset();
}
void WebIDBKey::reset()

Powered by Google App Engine
This is Rietveld 408576698