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

Unified Diff: services/ui/ws/frame_generator_unittest.cc

Issue 2651843002: FrameGenerator should receive SurfaceInfo and use it in frame generation (Closed)
Patch Set: c Created 3 years, 11 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
Index: services/ui/ws/frame_generator_unittest.cc
diff --git a/services/ui/ws/frame_generator_unittest.cc b/services/ui/ws/frame_generator_unittest.cc
index bb30aa89bcccf3882ecd835b77354e652849ee03..9fc9fe01cfdc9067e99907def6a9a9c5d2420691 100644
--- a/services/ui/ws/frame_generator_unittest.cc
+++ b/services/ui/ws/frame_generator_unittest.cc
@@ -81,7 +81,7 @@ void FrameGeneratorTest::SetUp() {
PlatformDisplayInitParams init_params;
frame_generator_ = base::MakeUnique<FrameGenerator>(
frame_generator_delegate_.get(), root_window_.get());
- frame_generator_->set_device_scale_factor(
+ frame_generator_->SetDeviceScaleFactor(
init_params.metrics.device_scale_factor);
InitWindow(root_window());
}

Powered by Google App Engine
This is Rietveld 408576698