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

Unified Diff: content/child/indexed_db/proxy_webidbfactory_impl.cc

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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: content/child/indexed_db/proxy_webidbfactory_impl.cc
diff --git a/content/child/indexed_db/proxy_webidbfactory_impl.cc b/content/child/indexed_db/proxy_webidbfactory_impl.cc
index 236a156a0dea49f927c17fb6b47685c39667fc43..1e3d861f324332d79d0ce8cd5a493c11d274da79 100644
--- a/content/child/indexed_db/proxy_webidbfactory_impl.cc
+++ b/content/child/indexed_db/proxy_webidbfactory_impl.cc
@@ -28,9 +28,9 @@ void RendererWebIDBFactoryImpl::getDatabaseNames(
WebIDBCallbacks* callbacks,
const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
- dispatcher->RequestIDBFactoryGetDatabaseNames(
- callbacks, database_identifier.utf8());
+ IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
+ dispatcher->RequestIDBFactoryGetDatabaseNames(callbacks,
+ database_identifier.utf8());
}
void RendererWebIDBFactoryImpl::open(
@@ -41,10 +41,13 @@ void RendererWebIDBFactoryImpl::open(
WebIDBDatabaseCallbacks* database_callbacks,
const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
- dispatcher->RequestIDBFactoryOpen(
- name, version, transaction_id, callbacks, database_callbacks,
- database_identifier.utf8());
+ IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
+ dispatcher->RequestIDBFactoryOpen(name,
+ version,
+ transaction_id,
+ callbacks,
+ database_callbacks,
+ database_identifier.utf8());
}
void RendererWebIDBFactoryImpl::deleteDatabase(
@@ -52,7 +55,7 @@ void RendererWebIDBFactoryImpl::deleteDatabase(
WebIDBCallbacks* callbacks,
const WebString& database_identifier) {
IndexedDBDispatcher* dispatcher =
- IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_);
+ IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
dispatcher->RequestIDBFactoryDeleteDatabase(
name, callbacks, database_identifier.utf8());
}
« no previous file with comments | « content/child/indexed_db/proxy_webidbdatabase_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698