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

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

Issue 2163213006: [IndexedDB] Add Observer Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@changes_renderer
Patch Set: Post cmumford review 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/IDBObserver.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
index 3bb7489fe107059454df462d744bf437e277e340..e31fe235210a62be8c8441b63d58f07f80db0dd5 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp
@@ -29,7 +29,6 @@ IDBObserver::IDBObserver(IDBObserverCallback& callback, const IDBObserverInit& o
, m_values(options.values())
, m_noRecords(options.noRecords())
{
- // TODO(palakj): Throw an exception if unknown operation type.
DCHECK_EQ(m_operationTypes.size(), static_cast<size_t>(WebIDBOperationTypeCount));
m_operationTypes.reset();
m_operationTypes[WebIDBAdd] = options.operationTypes().contains(IndexedDBNames::add);

Powered by Google App Engine
This is Rietveld 408576698