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

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

Issue 564713002: Web SQL: Remove more worker-related code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Windows build Created 6 years, 3 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 | « no previous file | Source/modules/webdatabase/DatabaseClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseClient.h
diff --git a/Source/modules/webdatabase/DatabaseClient.h b/Source/modules/webdatabase/DatabaseClient.h
index 7334a6cc5202c6507d50483c0aa25c6ec312ef0f..f1da63b038da6eeece2d93124cf2dff087bc9d74 100644
--- a/Source/modules/webdatabase/DatabaseClient.h
+++ b/Source/modules/webdatabase/DatabaseClient.h
@@ -31,7 +31,7 @@
#ifndef DatabaseClient_h
#define DatabaseClient_h
-#include "core/workers/WorkerClients.h"
+#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -41,9 +41,8 @@ class Database;
class ExecutionContext;
class InspectorDatabaseAgent;
class Page;
-class WorkerClients;
-class DatabaseClient : public WillBeHeapSupplement<Page>, public WillBeHeapSupplement<WorkerClients> {
+class DatabaseClient : public WillBeHeapSupplement<Page> {
WTF_MAKE_NONCOPYABLE(DatabaseClient);
public:
DatabaseClient();
@@ -58,18 +57,11 @@ public:
void createInspectorAgentFor(Page*);
- virtual void trace(Visitor* visitor) OVERRIDE
- {
- WillBeHeapSupplement<Page>::trace(visitor);
- WillBeHeapSupplement<WorkerClients>::trace(visitor);
- }
-
private:
InspectorDatabaseAgent* m_inspectorAgent;
};
void provideDatabaseClientTo(Page&, PassOwnPtrWillBeRawPtr<DatabaseClient>);
-void provideDatabaseClientToWorker(WorkerClients*, PassOwnPtrWillBeRawPtr<DatabaseClient>);
} // namespace blink
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698