| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 3a5b287aaf58cb2f451cda2869fb6fc27dcc76f7..96c374bfa7aef2865597161d7d3a2987e9ce68a4 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -659,8 +659,10 @@ void InspectorPageAgent::setDocumentContent(ErrorString* errorString, const Stri
|
| DOMPatchSupport::patchDocument(*document, html);
|
| }
|
|
|
| -void InspectorPageAgent::setDeviceMetricsOverride(ErrorString* errorString, int width, int height, double deviceScaleFactor, bool fitWindow)
|
| +void InspectorPageAgent::setDeviceMetricsOverride(ErrorString* errorString, int width, int height, double deviceScaleFactor, bool fitWindow, int textAutosizingOverride)
|
| {
|
| + fprintf(stderr, "setting device metrics override to %d\n", textAutosizingOverride);
|
| +
|
| const static long maxDimension = 10000000;
|
|
|
| if (width < 0 || height < 0 || width > maxDimension || height > maxDimension) {
|
|
|