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

Unified Diff: Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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: Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
diff --git a/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
index d3b41239f9f4e6de82a700d8fca7b64552cb5b2d..21daaea6a22c0dc51e1281377b5a04d35a283f3d 100644
--- a/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
+++ b/Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.h
@@ -42,8 +42,8 @@ class WorkerGlobalScope;
class WorkerGlobalScopeWebDatabase {
public:
- static PassRefPtr<Database> openDatabase(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState&);
- static PassRefPtr<DatabaseSync> openDatabaseSync(WorkerGlobalScope*, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState&);
+ static PassRefPtr<Database> openDatabase(WorkerGlobalScope&, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState&);
+ static PassRefPtr<DatabaseSync> openDatabaseSync(WorkerGlobalScope&, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState&);
private:
WorkerGlobalScopeWebDatabase() { };

Powered by Google App Engine
This is Rietveld 408576698