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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 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
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698