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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Minor typecasting Created 4 years, 5 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/modules/indexeddb/WebIDBObserverImpl.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
index 3610e284300e18bc3879f0e27cc4158f5083ac62..94a482d299cde83126aa138af0ace9925047523f 100644
--- a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
@@ -4,7 +4,6 @@
#include "modules/indexeddb/WebIDBObserverImpl.h"
-#include "modules/indexeddb/IDBObserver.h"
#include "wtf/PtrUtil.h"
namespace blink {
@@ -34,4 +33,9 @@ void WebIDBObserverImpl::setId(int32_t id)
m_id = id;
}
+void WebIDBObserverImpl::onChange(const WebVector<WebIDBObservation>& observations, const WebVector<int32_t>& observationIndex)
+{
+ m_observer->onChange(m_id, observations, std::move(observationIndex));
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.h ('k') | third_party/WebKit/public/blink_headers.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698