From 1f41e22614b49d5e84471a6c970189a6a9fd18b0 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 3 Aug 2016 14:09:38 +0900 Subject: [PATCH] Put constants in annoymouse namespace --- atom/browser/osr/osr_render_widget_host_view.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/atom/browser/osr/osr_render_widget_host_view.cc b/atom/browser/osr/osr_render_widget_host_view.cc index f1d7c6b403..2467e78911 100644 --- a/atom/browser/osr/osr_render_widget_host_view.cc +++ b/atom/browser/osr/osr_render_widget_host_view.cc @@ -26,11 +26,14 @@ #include "ui/gfx/geometry/dip_util.h" #include "ui/gfx/native_widget_types.h" -const float kDefaultScaleFactor = 1.0; +namespace atom { +namespace { + +const float kDefaultScaleFactor = 1.0; const int kFrameRetryLimit = 2; -namespace atom { +} // namespace class AtomCopyFrameGenerator { public: