Index: Source/web/WebDevToolsAgentImpl.cpp |
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp |
index 233cd5a33eb816554d94eea5c55dce304a388950..c00ae1fdb5d26be9c1e308a9497752bd6b810523 100644 |
--- a/Source/web/WebDevToolsAgentImpl.cpp |
+++ b/Source/web/WebDevToolsAgentImpl.cpp |
@@ -77,6 +77,7 @@ |
#include "modules/device_orientation/DeviceOrientationInspectorAgent.h" |
#include "modules/filesystem/InspectorFileSystemAgent.h" |
#include "modules/indexeddb/InspectorIndexedDBAgent.h" |
+#include "modules/screen_orientation/ScreenOrientationInspectorAgent.h" |
#include "modules/storage/InspectorDOMStorageAgent.h" |
#include "modules/webdatabase/InspectorDatabaseAgent.h" |
#include "platform/JSONValues.h" |
@@ -365,6 +366,8 @@ WebDevToolsAgentImpl::WebDevToolsAgentImpl( |
m_agents.append(workerAgentPtr.release()); |
m_agents.append(pageConsoleAgentPtr.release()); |
+ |
+ m_agents.append(ScreenOrientationInspectorAgent::create(*m_webLocalFrameImpl->frame())); |
} |
WebDevToolsAgentImpl::~WebDevToolsAgentImpl() |