Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: content/browser/renderer_host/render_widget_host_view_browsertest.cc

Issue 333723004: Fix set_area sizes for RequestCopyOfOutput (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/media/capture/desktop_capture_device_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_browsertest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_browsertest.cc b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
index 34327a164fb8ce2951b4d9fd2c31b909527a7d06..91f9f41af512fcd1c60a70af9b6790caa084c654 100644
--- a/content/browser/renderer_host/render_widget_host_view_browsertest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
@@ -779,13 +779,18 @@ class CompositingRenderWidgetHostViewTabCaptureHighDPI
public:
CompositingRenderWidgetHostViewTabCaptureHighDPI() : kScale(2.f) {}
- virtual void SetUpOnMainThread() OVERRIDE {
- CommandLine* cmd = CommandLine::ForCurrentProcess();
+ virtual void SetUpCommandLine(base::CommandLine* cmd) OVERRIDE {
+ CompositingRenderWidgetHostViewBrowserTestTabCapture::SetUpCommandLine(cmd);
cmd->AppendSwitchASCII(switches::kForceDeviceScaleFactor,
base::StringPrintf("%f", scale()));
-#if defined(OS_WIN)
gfx::ForceHighDPISupportForTesting(scale());
gfx::EnableHighDPISupport();
+ }
+
+ virtual void SetUpOnMainThread() OVERRIDE {
+#if defined(OS_WIN)
+ // gfx::ForceHighDPISupportForTesting(scale());
+ // gfx::EnableHighDPISupport();
#endif
}
« no previous file with comments | « content/browser/media/capture/desktop_capture_device_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698