| Index: content/shell/renderer/layout_test/blink_test_runner.cc
|
| diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
|
| index 76af0616fe51b6069d86bda1221e5dd23d7a1d0c..5100af116554847d6c07ce1f7991f7e3bcd0178d 100644
|
| --- a/content/shell/renderer/layout_test/blink_test_runner.cc
|
| +++ b/content/shell/renderer/layout_test/blink_test_runner.cc
|
| @@ -37,6 +37,7 @@
|
| #include "components/test_runner/web_test_interfaces.h"
|
| #include "components/test_runner/web_test_proxy.h"
|
| #include "components/test_runner/web_test_runner.h"
|
| +#include "content/common/content_switches_internal.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/service_registry.h"
|
| #include "content/public/common/url_constants.h"
|
| @@ -501,8 +502,10 @@ void BlinkTestRunner::SimulateWebNotificationClose(const std::string& title,
|
| by_user));
|
| }
|
|
|
| -void BlinkTestRunner::SetDeviceScaleFactor(float factor) {
|
| - content::SetDeviceScaleFactor(render_view(), factor);
|
| +bool BlinkTestRunner::SetDeviceScaleFactor(float factor) {
|
| + RenderView* rv = render_view();
|
| + content::SetDeviceScaleFactor(rv, factor);
|
| + return IsUseZoomForDSFEnabled();
|
| }
|
|
|
| void BlinkTestRunner::EnableUseZoomForDSF() {
|
|
|