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

Unified Diff: third_party/WebKit/Source/web/IndexedDBClientImpl.cpp

Issue 2614143002: Use a new Supplement constructor for LocalFrame's supplements (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
index 702436d686760e6a3d3550109b271212aa2f801d..61f9374e65f20d210f2d67cb71c6d9d88fb9aefb 100644
--- a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
+++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp
@@ -41,10 +41,20 @@
namespace blink {
-IndexedDBClient* IndexedDBClientImpl::create() {
- return new IndexedDBClientImpl();
+IndexedDBClient* IndexedDBClientImpl::create(LocalFrame& frame) {
+ return new IndexedDBClientImpl(frame);
}
+IndexedDBClient* IndexedDBClientImpl::create(WorkerClients& workerClients) {
+ return new IndexedDBClientImpl(workerClients);
+}
+
+IndexedDBClientImpl::IndexedDBClientImpl(LocalFrame& frame)
+ : IndexedDBClient(frame) {}
+
+IndexedDBClientImpl::IndexedDBClientImpl(WorkerClients& workerClients)
+ : IndexedDBClient(workerClients) {}
+
bool IndexedDBClientImpl::allowIndexedDB(ExecutionContext* context,
const String& name) {
DCHECK(context->isContextThread());

Powered by Google App Engine
This is Rietveld 408576698