| Index: content/browser/webui/web_ui_impl.cc
|
| diff --git a/content/browser/webui/web_ui_impl.cc b/content/browser/webui/web_ui_impl.cc
|
| index 1656b984f668dbd98d6d5763bb632cab3ae9e2b1..3f4e3b30def3adbc5f84566a31dd429f949c657d 100644
|
| --- a/content/browser/webui/web_ui_impl.cc
|
| +++ b/content/browser/webui/web_ui_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| #include "content/browser/child_process_security_policy_impl.h"
|
| +#include "content/browser/renderer_host/dip_util.h"
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/web_contents/web_contents_impl.h"
|
| @@ -116,6 +117,10 @@ WebContents* WebUIImpl::GetWebContents() const {
|
| return web_contents_;
|
| }
|
|
|
| +float WebUIImpl::GetRendererScale() const {
|
| + return content::GetDIPScaleFactor(web_contents_->GetRenderWidgetHostView());
|
| +}
|
| +
|
| bool WebUIImpl::ShouldHideFavicon() const {
|
| return hide_favicon_;
|
| }
|
|
|