Index: Source/WebCore/inspector/InspectorPageAgent.cpp |
=================================================================== |
--- Source/WebCore/inspector/InspectorPageAgent.cpp (revision 135818) |
+++ Source/WebCore/inspector/InspectorPageAgent.cpp (working copy) |
@@ -370,6 +370,12 @@ |
} |
} |
+void InspectorPageAgent::webViewResized(const IntSize& size) |
+{ |
+ int currentWidth = static_cast<int>(m_state->getLong(PageAgentState::pageAgentScreenWidthOverride)); |
+ m_overlay->resize(currentWidth ? size : IntSize()); |
+} |
+ |
void InspectorPageAgent::enable(ErrorString*) |
{ |
m_enabled = true; |