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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 1357423009: gfx: Make conversions from Size to SizeF be explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sizefconvert-gfx: . Created 5 years, 3 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/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index 44f83df62433b765975b92ebbfecc48491dbc7e1..6fb9189edca8ef23881c8b257c8edb28bd966a85 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -130,9 +130,8 @@ void RenderWidgetHostViewChildFrame::SetBackgroundColor(SkColor color) {
gfx::Size RenderWidgetHostViewChildFrame::GetPhysicalBackingSize() const {
gfx::Size size;
if (frame_connector_) {
- size = gfx::ToCeiledSize(
- gfx::ScaleSize(frame_connector_->ChildFrameRect().size(),
- frame_connector_->device_scale_factor()));
+ size = gfx::ScaleToCeiledSize(frame_connector_->ChildFrameRect().size(),
+ frame_connector_->device_scale_factor());
}
return size;
}
« no previous file with comments | « content/browser/devtools/protocol/page_handler.cc ('k') | content/browser/media/capture/web_contents_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698