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

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: Use vegorov's trait-based WebPrivatePtr instead; much better. 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..589b20b91406e83ccc16896183f413b68e14c3e8 100644
--- a/Source/web/WebIDBKey.cpp
+++ b/Source/web/WebIDBKey.cpp
@@ -187,7 +187,7 @@ void WebIDBKey::assignInvalid()
void WebIDBKey::assignNull()
{
- m_private = 0;
+ m_private.reset();
}
void WebIDBKey::reset()

Powered by Google App Engine
This is Rietveld 408576698