Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index 7f384d9900a51650c39a13752858c7d85a1f37fd..9e45d071d5b1a75c937d1b3439baf1a293f034e4 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -135,7 +135,7 @@ bool IndexedDBDispatcherHost::OnMessageReceived(const IPC::Message& message, |
} |
int32 IndexedDBDispatcherHost::Add(WebIDBCursor* idb_cursor) { |
- if (!cursor_dispatcher_host_.get()) { |
+ if (!cursor_dispatcher_host_) { |
delete idb_cursor; |
return 0; |
} |
@@ -145,7 +145,7 @@ int32 IndexedDBDispatcherHost::Add(WebIDBCursor* idb_cursor) { |
int32 IndexedDBDispatcherHost::Add(WebIDBDatabase* idb_database, |
int32 ipc_thread_id, |
const GURL& origin_url) { |
- if (!database_dispatcher_host_.get()) { |
+ if (!database_dispatcher_host_) { |
delete idb_database; |
return 0; |
} |