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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

Issue 2688413007: Add display::GetDisplayNearestView (Closed)
Patch Set: add missing files Created 3 years, 10 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: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 0fb5bd9eb46616df242fe3e65ef96f9d3f56be6a..fbf958a1bbe0e1926049dfbd9cdba89dbc9a83bb 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -518,7 +518,7 @@ class WebContentsVideoCaptureDeviceTest : public testing::Test {
RenderWidgetHostView* const view =
web_contents_->GetRenderViewHost()->GetWidget()->GetView();
CHECK(view);
- return ui::GetScaleFactorForNativeView(view->GetNativeView());
+ return view->GetScaleFactorForNativeView();
}
void SimulateDrawEvent() {

Powered by Google App Engine
This is Rietveld 408576698