Index: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
diff --git a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
index c4ff82f707592316a228a23f82b628dc0c97abd1..91c0436ee2509515b95926e070548317ec577b98 100644 |
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp |
@@ -31,7 +31,6 @@ |
#include "bindings/core/v8/ExceptionStatePlaceholder.h" |
#include "core/frame/LocalFrame.h" |
#include "core/html/VoidCallback.h" |
-#include "core/inspector/InspectorState.h" |
#include "core/loader/DocumentLoader.h" |
#include "core/page/Page.h" |
#include "modules/webdatabase/Database.h" |
@@ -272,7 +271,7 @@ void InspectorDatabaseAgent::disable(ErrorString*) |
void InspectorDatabaseAgent::restore() |
{ |
- m_enabled = m_state->getBoolean(DatabaseAgentState::databaseAgentEnabled); |
+ m_enabled = m_state->booleanProperty(DatabaseAgentState::databaseAgentEnabled, false); |
} |
void InspectorDatabaseAgent::getDatabaseTableNames(ErrorString* error, const String& databaseId, RefPtr<TypeBuilder::Array<String>>& names) |