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

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

Issue 2468233003: [DevTools] Migrate Accessibility, Log, Worker to new style (Closed)
Patch Set: addressed comments Created 4 years, 1 month 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/InspectorIndexedDBAgent.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index 45cac8342432eac1f3cbb4e879f4a188dd4e38df..579f8730534cdbb492354d5bd88757ce8a106a45 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -717,7 +717,6 @@ void InspectorIndexedDBAgent::requestDatabaseNames(
std::unique_ptr<RequestDatabaseNamesCallback> requestCallback) {
LocalFrame* frame =
m_inspectedFrames->frameWithSecurityOrigin(securityOrigin);
- ErrorString errorString;
Document* document = frame ? frame->document() : nullptr;
if (!document) {
requestCallback->sendFailure(Response::Error(kNoDocumentError));
@@ -758,7 +757,6 @@ void InspectorIndexedDBAgent::requestDatabase(
std::unique_ptr<RequestDatabaseCallback> requestCallback) {
LocalFrame* frame =
m_inspectedFrames->frameWithSecurityOrigin(securityOrigin);
- ErrorString errorString;
Document* document = frame ? frame->document() : nullptr;
if (!document) {
requestCallback->sendFailure(Response::Error(kNoDocumentError));
@@ -795,7 +793,6 @@ void InspectorIndexedDBAgent::requestData(
std::unique_ptr<RequestDataCallback> requestCallback) {
LocalFrame* frame =
m_inspectedFrames->frameWithSecurityOrigin(securityOrigin);
- ErrorString errorString;
Document* document = frame ? frame->document() : nullptr;
if (!document) {
requestCallback->sendFailure(Response::Error(kNoDocumentError));
@@ -930,7 +927,6 @@ void InspectorIndexedDBAgent::clearObjectStore(
std::unique_ptr<ClearObjectStoreCallback> requestCallback) {
LocalFrame* frame =
m_inspectedFrames->frameWithSecurityOrigin(securityOrigin);
- ErrorString errorString;
Document* document = frame ? frame->document() : nullptr;
if (!document) {
requestCallback->sendFailure(Response::Error(kNoDocumentError));

Powered by Google App Engine
This is Rietveld 408576698