| Index: content/browser/renderer_host/dip_util.cc
|
| diff --git a/content/browser/renderer_host/dip_util.cc b/content/browser/renderer_host/dip_util.cc
|
| index 3d20622eaaad194331d466e4e4212e7de972ad73..8b9e4f66eb5d0d93321994640a5684f0cf49ec98 100644
|
| --- a/content/browser/renderer_host/dip_util.cc
|
| +++ b/content/browser/renderer_host/dip_util.cc
|
| @@ -17,7 +17,7 @@
|
| namespace content {
|
|
|
| float GetScaleFactorForView(const RenderWidgetHostView* view) {
|
| - return ui::GetScaleFactorForNativeView(view ? view->GetNativeView() : NULL);
|
| + return view ? view->GetScaleFactorForNativeView() : 1.f;
|
| }
|
|
|
| gfx::Point ConvertViewPointToDIP(const RenderWidgetHostView* view,
|
|
|