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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp

Issue 2007983006: Rename OwnPtr::clear() to reset() in modules/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index 14108129337932cc7ac51e90f0592bb431ca0318..48c1da54bb531ecc982f945e06f2d9291196e67f 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -343,7 +343,7 @@ void IDBDatabase::closeConnection()
if (m_backend) {
m_backend->close();
- m_backend.clear();
+ m_backend.reset();
}
if (m_contextStopped || !getExecutionContext())
@@ -432,7 +432,7 @@ void IDBDatabase::stop()
// round trip to the back-end to abort.
if (m_backend) {
m_backend->close();
- m_backend.clear();
+ m_backend.reset();
}
}

Powered by Google App Engine
This is Rietveld 408576698