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

Unified Diff: third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp

Issue 1621923002: [DevTools] Remove InspectorState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: to JSONObject Created 4 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/modules/filesystem/InspectorFileSystemAgent.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp b/third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp
index f25d5cb76a9c85165a1acec11601707ec17e5fd7..951924ddb8346ce0f80cd368e374ab4c4d5a8af8 100644
--- a/third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.cpp
@@ -45,7 +45,6 @@
#include "core/html/VoidCallback.h"
#include "core/html/parser/TextResourceDecoder.h"
#include "core/inspector/InspectedFrames.h"
-#include "core/inspector/InspectorState.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/DirectoryEntry.h"
#include "modules/filesystem/DirectoryReader.h"
@@ -731,7 +730,7 @@ void InspectorFileSystemAgent::deleteEntry(ErrorString* error, const String& url
void InspectorFileSystemAgent::restore()
{
- m_enabled = m_state->getBoolean(FileSystemAgentState::fileSystemAgentEnabled);
+ m_enabled = m_state->getBoolean(FileSystemAgentState::fileSystemAgentEnabled, false);
}
InspectorFileSystemAgent::InspectorFileSystemAgent(InspectedFrames* inspectedFrames)

Powered by Google App Engine
This is Rietveld 408576698