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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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/WebIDBCallbacksImpl.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp
index c87577997479ff419f0fc01d0a9cbe32a8e0cd48..5e4e59d747eb997e509b14f7127a7e3deab0ad93 100644
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBCallbacksImpl.cpp
@@ -57,7 +57,7 @@ namespace blink {
// static
std::unique_ptr<WebIDBCallbacksImpl> WebIDBCallbacksImpl::create(
IDBRequest* request) {
- return wrapUnique(new WebIDBCallbacksImpl(request));
+ return WTF::wrapUnique(new WebIDBCallbacksImpl(request));
}
WebIDBCallbacksImpl::WebIDBCallbacksImpl(IDBRequest* request)
@@ -104,13 +104,13 @@ void WebIDBCallbacksImpl::onSuccess(WebIDBCursor* cursor,
InspectorInstrumentation::AsyncTask asyncTask(
m_request->getExecutionContext(), this);
- m_request->onSuccess(wrapUnique(cursor), key, primaryKey,
+ m_request->onSuccess(WTF::wrapUnique(cursor), key, primaryKey,
IDBValue::create(value));
}
void WebIDBCallbacksImpl::onSuccess(WebIDBDatabase* backend,
const WebIDBMetadata& metadata) {
- std::unique_ptr<WebIDBDatabase> db = wrapUnique(backend);
+ std::unique_ptr<WebIDBDatabase> db = WTF::wrapUnique(backend);
if (m_request) {
InspectorInstrumentation::AsyncTask asyncTask(
m_request->getExecutionContext(), this);
@@ -193,7 +193,7 @@ void WebIDBCallbacksImpl::onUpgradeNeeded(long long oldVersion,
const WebIDBMetadata& metadata,
unsigned short dataLoss,
WebString dataLossMessage) {
- std::unique_ptr<WebIDBDatabase> db = wrapUnique(database);
+ std::unique_ptr<WebIDBDatabase> db = WTF::wrapUnique(database);
if (m_request) {
InspectorInstrumentation::AsyncTask asyncTask(
m_request->getExecutionContext(), this);

Powered by Google App Engine
This is Rietveld 408576698